UCP — Universal Commerce Protocol
Google & Shopify's capability-based commerce protocol, discovered through a profile at /.well-known/ucp. AstraSync supports UCP 2026-08-25.
Google & Shopify's capability-based commerce protocol. Each side publishes a UCP profile at
/.well-known/ucp listing the capabilities it supports (checkout, fulfillment, discounts, orders,
the AP2 mandates extension) and the transports it speaks (REST, MCP, A2A, embedded). A merchant and
a platform (the agent's side) negotiate the intersection of their two profiles on every request:
the platform sends its profile URL in the UCP-Agent header.
AstraSync supports UCP 2026-08-25, the version the Verification Gateway SDK negotiates
(UCP_VERSION). AstraSync verifies the agent behind the platform and applies the owner's policy
before any checkout completes.
For agents: declare your UCP profile
You declare: your platform's profile URL (manifestUrl), the UCP version, capabilities,
transports and any custom extensions.
At registration AstraSync fetches the profile and checks it is a UCP profile whose top-level
keys[] contains the agent's registered signing key. That profile becomes one of the agent's
protocol identities, so a merchant can bind an incoming UCP request (its UCP-Agent profile)
to the verified agent.
PDLSS pre-fill: checkout / payment capabilities add financial_transaction purpose;
fulfillment adds execute_action; the profile's domain is added to counterparties.
{
"protocols": ["a2a", "ucp"],
"ucp": {
"manifestUrl": "https://platform.example.com/.well-known/ucp",
"version": "2026-08-25",
"capabilities": [
"dev.ucp.shopping.checkout",
"dev.ucp.shopping.fulfillment"
],
"transports": ["rest", "a2a"]
}
}For merchants: serve UCP checkout
The SDK's UCP checkout kit implements the UCP 2026-08-25 shopping/checkout REST binding for you:
profile negotiation, Idempotency-Key handling, optional RFC 9421 request signatures, the AP2
mandates extension and the AstraSync purchase check. You write the catalog, settlement and
fulfilment. See Merchant commerce kit.
Your payment processor decides whether an agent's wallet works, so you choose how agents pay (see How agents pay):
- The agent's own token. Pass
agentTokens: { handlers, charge }with the standard handlers your processor accepts (for examplestripeSharedPaymentTokenHandler()forcom.stripe.payments). The kit adds them to your profile'spayment_handlersbeside AstraSync's (ucpAgentTokenHandlers()builds the same entries if you write the profile yourself) and calls yourchargewith the agent's instrument. AstraSync receives only the credential's presence and type, never the token. - A payment method saved in AstraSync. List
ai.astrasync.card_token(stores on AstraSync's own Stripe account) and passsettle.ai.astrasync.vouchertakes stablecoin vouchers from any merchant. - Your hosted checkout. Pass
hostedCheckout: { create, buyer }. Complete answersrequires_escalationwithcontinue_urlset to your processor's page and apayment_requiredmessage, orbuyer_payment_requiredwhenbuyer: 'human'(the shopper must pay themselves). Finish it withkit.resolvePayment()from your payment webhook.
A missing or malformed instrument, or no payment method on file, is the recoverable
instrument_required message, never payment_failed: only your processor declines.

