Commerce and checkout
GET/v1/orders/{id}
Get order
curl -X GET "https://api.52-28-238-205.sslip.io/v1/orders/{id}" \ -H "Cookie: <console session cookie>"Returns one order with fulfillment status per line item and the intents that paid them. Agent credential, or console session or API key with payment:read.
Server URL
https://api.52-28-238-205.sslip.ioGET/v1/orders/{id}Base URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...agentKeyAuthorization: Bearer agk_test_...
Path
idstringrequiredOrder id (ord_...).
cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdOrder id (ord_...).
Success.
application/json- response
order*[key: string]?anyPOSTCreate order
Creates an open cart order of 1 to 20 line items (quantity 1 to 10 each) from one merchant; card services can't be added. Agent credential only; nothing is paid until checkout.
POSTCheck out order
Pays every line item of an order as separate purchases through the policy engine and returns each intent's result, waiting up to wait_seconds (max 60) per purchase. Agent credential only; safe to retry, since each item unit uses a fixed idempotency key.