xcladeDocs

Agentic Commerce Protocols

Native support for Google UCP, OpenAI ACP, A2A, llms.txt, WebMCP, AP2 mandates, x402, and RFC 9421 Web Bot Auth

Agentic Commerce Protocols

Beyond GraphQL and Remote MCP, every xclade store pod ships with an isolated Agentic Commerce route surface built directly into Go—allowing autonomous shopping agents, LLM browsers, and AI checkout orchestrators to discover products, negotiate sessions, and settle orders safely.

Inspect live protocol readiness for any store at:

GET https://{shortId}.api.myxclade.com/agentic/status

Google UCP (Universal Commerce Protocol)

Method & PathPurpose
GET /.well-known/ucpUCP capability manifest and merchant profile.
GET /ucp/v1/productsPaginated product catalog discovery.
GET /ucp/v1/products/{id}Single product detail with live pricing & inventory.
POST /ucp/v1/checkout-sessionsCreate an agentic checkout session.
GET /ucp/v1/checkout-sessions/{id}Inspect session totals, shipping, and payment state.
PUT /ucp/v1/checkout-sessions/{id}Update items, buyer email, shipping address, or shipping option.
POST /ucp/v1/checkout-sessions/{id}/completeFinalize payment and convert session into a store order.
POST /ucp/v1/checkout-sessions/{id}/cancelCancel an open checkout session.

OpenAI ACP (Agentic Commerce Protocol)

Method & PathPurpose
GET /acp/feed/products.jsonFull JSON catalog feed for agent indexing.
GET /acp/feed/products.jsonlStreaming JSONL catalog feed.
POST /acp/checkout_sessionsCreate an ACP checkout session.
GET /acp/checkout_sessions/{id}Fetch current ACP checkout session state.
POST /acp/checkout_sessions/{id}Update session line items, buyer details, or fulfillment.
POST /acp/checkout_sessions/{id}/completeComplete checkout with delegated payment token or mandate.
POST /acp/checkout_sessions/{id}/cancelCancel an active ACP checkout session.
POST /acp/delegate_paymentDelegated payment token vaulting / handoff.

AI Discovery, A2A & WebMCP

Method & PathPurpose
GET /llms.txtConcise store catalog & endpoint summary for LLM crawlers.
GET /llms-full.txtExtended machine-readable catalog & store context.
GET /products/{handle}.mdClean Markdown representation of any individual product page.
GET /.well-known/agent.json & /.well-known/agent-card.jsonAgent-to-Agent (A2A) discovery card.
POST /a2aA2A JSON-RPC task endpoint.
GET /agentic/webmcp.jsDrop-in browser WebMCP script exposing storefront tools to AI browsers.

Agent Authentication & Payment Extensions

The Agentic Commerce router supports modern agent trust and settlement headers out of the box:

  • RFC 9421 Web Bot Auth: Verifies Signature, Signature-Input, and Signature-Agent HTTP Message Signatures and returns X-Xclade-Agent-Auth.
  • AP2 Mandates: Accepts signed spending mandates via X-AP2-Mandate on UCP and ACP checkout completion.
  • x402 Payment Protocol: Supports X-PAYMENT and X-Payment-Protocol: x402 when enabled in store agentic settings, returning settlement details in X-Payment-Response.
  • Idempotency & Tracing: Supports Idempotency-Key, Request-Id, UCP-Agent, and API-Version headers with permissive agent CORS (OPTIONS preflight registered on every path).

On this page