UCP
Native support for the Universal Commerce Protocol.
Last Price implements UCP so AI shopping agents can discover your pricing capabilities, create checkout sessions, and complete purchases without custom integration work. One protocol, any agent.
last-price.ai/.well-known/ucp
What UCP enables
- Standard discovery at /.well-known/ucp so any UCP agent can find and call your pricing endpoints.
- Full checkout session lifecycle: create, update, complete, and cancel with idempotency built in.
- Pricing quotes that flow through the same PCN compute pipeline, complete with metering and cost tracing.
- UCP-Agent header negotiation for version compatibility across protocol revisions.
- Fulfillment and discount extensions supported out of the box.
How it works
- An AI agent fetches /.well-known/ucp and learns Last Price supports checkout and pricing compute.
- The agent creates a checkout session with line items and buyer identity via POST /api/ucp/checkout-sessions.
- Last Price computes optimized totals using the configured routing policy and pricing functions.
- The agent completes checkout with payment credentials, and an order is placed.
- Every call is token-metered through the same PCN pipeline, so cost tracing works seamlessly.
Ready to try it?
Spin up a free playground tenant in under a minute. No credit card.