Skip to main content

StateSet UCP Quickstart

This quickstart helps you run the UCP handler locally and verify the discovery endpoint.

1) Run the server

git clone https://github.com/stateset/stateset-ucp-handler.git
cd stateset-ucp-handler
cd stateset-ucp-handler
cargo run
By default the server listens on http://0.0.0.0:8081.

2) Verify discovery

UCP exposes discovery at /.well-known/ucp:
curl http://localhost:8081/.well-known/ucp

3) Create a checkout session

Refer to the handler README for full request/response examples and optional extensions:

Next Steps