Agent Console
Walk a UCP purchase end to end: this app plays the shopping platform, the store is CartThrob AI. Run run_20261117163625_69d9ab77.
Discover the store
Unsigned GET https://nerdee.dev/.well-known/ucp. The REST endpoint is read from the profile's services["dev.ucp.shopping"].
- UCP version
- 2026-08-25
- REST endpoint
https://nerdee.dev/ucp/v1- Capabilities
- dev.ucp.shopping.catalog.search dev.ucp.shopping.catalog.lookup dev.ucp.shopping.cart dev.ucp.shopping.checkout dev.ucp.shopping.discount dev.ucp.shopping.fulfillment
- Signing keys
- hrY3_T497DpQL9_PO7ZC9dFe6PspKFg8mmSKuuxwqbc (EdDSA), SyCWMZ0LPBnr6W71ZOu8e-pUj3Q9OX9Dbad-bDRRLS4 (ES256)
HTTP transcript
200 GET /.well-known/ucp Autopilot: GET store profile · 16:36:27 UTC · 200 ms
Request
GET https://nerdee.dev/.well-known/ucp accept: application/json
Response
HTTP 200
content-type: application/json
cache-control: public, max-age=300
x-request-id: 359871f8ce01956c1a7d7707efd3141d
etag: W/"b7cc4d8306debaa1bbce7be2116ab485d4ed475662d6dfa97dc77312c53a8afe"
{
"ucp": {
"version": "2026-08-25",
"services": {
"dev.ucp.shopping": [
{
"version": "2026-08-25",
"transport": "rest",
"spec": "https://ucp.dev/2026-08-25/specification/overview/",
"schema": "https://ucp.dev/2026-08-25/services/shopping/rest.openapi.json",
"endpoint": "https://nerdee.dev/ucp/v1"
}
]
},
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/shopping/catalog/search/",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/catalog_search.json"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/shopping/catalog/lookup/",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/catalog_lookup.json"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/cart/",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/cart.json"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/checkout/",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/checkout.json"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/discount/",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/discount.json",
"extends": [
"dev.ucp.shopping.cart",
"dev.ucp.shopping.checkout"
]
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25",
"spec": "https://ucp.dev/2026-08-25/specification/fulfillment/",
"schema": "https://ucp.dev/2026-08-25/schemas/shopping/fulfillment.json",
"extends": [
"dev.ucp.shopping.checkout"
]
}
]
},
"payment_handlers": {},
"status": "success"
},
"keys": [
{
"crv": "Ed25519",
"kty": "OKP",
"x": "rlX4aBrTj9Frxw3RSFhXbz2IA1gQ07H_ZdQjVBNFwxc",
"kid": "hrY3_T497DpQL9_PO7ZC9dFe6PspKFg8mmSKuuxwqbc",
"alg": "EdDSA",
"use": "sig"
},
{
"crv": "P-256",
"kty": "EC",
"x": "EI81f2F8yO18AKJIFZ6VwkIDPUvVNPU3sZPqkErbIb0",
"y": "XXFR4H1wGOaxA6pD5nVdq3Dj_ZpmTgeGeUBD2nEei0I",
"kid": "SyCWMZ0LPBnr6W71ZOu8e-pUj3Q9OX9Dbad-bDRRLS4",
"alg": "ES256",
"use": "sig"
}
]
}Search the catalog and choose a variant
HTTP transcript
200 POST /ucp/v1/catalog/product Autopilot: product p_3 · 16:36:32 UTC · 368 ms
Request
POST https://nerdee.dev/ucp/v1/catalog/product
accept: application/json
ucp-agent: profile="https://agent.nerdee.dev/.well-known/ucp"
request-id: 55da5eef-1d81-4675-b157-7ff78b78c0a8
idempotency-key: aaea1606-0ebe-4e4c-b00c-eb11d306faf3
content-type: application/json
content-digest: sha-256=:n1Bsb/JiZyMLqDEBNBhTMTlSk6Z0xjkvvIE8JZsb4LI=:
signature-input: sig1=("@method" "@authority" "@path" "ucp-agent" "idempotency-key" "cont…
signature: sig1=:r6ihkZvtslM8vkoj3NHwA/A9QMWHN6u9MOVw8wLXURX24DgKoe0eZTXGzXPdwcoeRw…
{
"id": "p_3",
"selected": [
{
"name": "product_size",
"label": "12 oz bag",
"id": "12oz"
},
{
"name": "product_options_other",
"label": "Whole bean",
"id": "whole-bean"
}
]
}Response
HTTP 200
content-type: application/json
cache-control: no-store
x-request-id: e1c3d33f7183f8571b87bcf9d2c32b35
request-id: 55da5eef-1d81-4675-b157-7ff78b78c0a8
{
"product": {
"id": "p_3",
"title": "Ethiopia Yirgacheffe",
"description": {
"plain": "Washed heirloom varieties from the Gedeo zone. Jasmine, bergamot and lemon candy. Light roast; shines as pour-over."
},
"price_range": {
"min": {
"amount": 1900,
"currency": "USD"
},
"max": {
"amount": 4100,
"currency": "USD"
}
},
"variants": [
{
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"description": {
"plain": "Washed heirloom varieties from the Gedeo zone. Jasmine, bergamot and lemon candy. Light roast; shines as pour-over."
},
"price": {
"amount": 1900,
"currency": "USD"
},
"availability": {
"available": true,
"status": "in_stock"
},
"sku": "TRC-ETH",
"url": "https://nerdee.dev/shop/ethiopia-yirgacheffe",
"options": [
{
"name": "product_size",
"id": "12oz",
"label": "12 oz bag"
},
{
"name": "product_options_other",
"id": "whole-bean",
"label": "Whole bean"
}
]
}
],
"url": "https://nerdee.dev/shop/ethiopia-yirgacheffe",
"categories": [
{
"value": "Single Origin",
"taxonomy": "merchant"
}
],
"options": [
{
"name": "product_size",
"values": [
{
"id": "12oz",
"label": "12 oz bag",
"exists": true,
"available": true
},
{
"id": "2lb",
"label": "2 lb bag",
"exists": true,
"available": true
}
]
},
{
"name": "product_options_other",
"values": [
{
"id": "whole-bean",
"label": "Whole bean",
"exists": true,
"available": true
},
{
"id": "drip",
"label": "Drip grind",
"exists": true,
"available": true
},
{
"id": "espresso",
"label": "Espresso grind",
"exists": true,
"available": true
}
]
}
],
"selected": [
{
"name": "product_size",
"id": "12oz",
"label": "12 oz bag"
},
{
"name": "product_options_other",
"id": "whole-bean",
"label": "Whole bean"
}
]
},
"ucp": {
"version": "2026-08-25",
"status": "success",
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25"
}
]
}
}
}200 POST /ucp/v1/catalog/search Autopilot: search "Ethiopia Yirgacheffe" · 16:36:29 UTC · 547 ms
Request
POST https://nerdee.dev/ucp/v1/catalog/search
accept: application/json
ucp-agent: profile="https://agent.nerdee.dev/.well-known/ucp"
request-id: bb92d7a7-b2ea-4dce-9eea-bfaa3bfa7e8f
idempotency-key: e6a4d635-cceb-44ed-870a-ff42dbc4ee2e
content-type: application/json
content-digest: sha-256=:A0fZkPJABSkEDxqFIPM6hYah8OpJtuei7GlBGEXKBnI=:
signature-input: sig1=("@method" "@authority" "@path" "ucp-agent" "idempotency-key" "cont…
signature: sig1=:uRu0Clv3rHPBJJNkibCgBvga9fYDlwkpZrwRIW/9m6Hjjxst3a0/gkLif1bMs2nqh1…
{
"query": "Ethiopia Yirgacheffe",
"pagination": {
"limit": 20
}
}Response
HTTP 200
content-type: application/json
cache-control: no-store
x-request-id: 23fc6ec27e52ef4278ec1d7a399849f7
request-id: bb92d7a7-b2ea-4dce-9eea-bfaa3bfa7e8f
{
"products": [
{
"id": "p_3",
"title": "Ethiopia Yirgacheffe",
"description": {
"plain": "Washed heirloom varieties from the Gedeo zone. Jasmine, bergamot and lemon candy. Light roast; shines as pour-over."
},
"price_range": {
"min": {
"amount": 1900,
"currency": "USD"
},
"max": {
"amount": 4100,
"currency": "USD"
}
},
"variants": [
{
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"description": {
"plain": "Washed heirloom varieties from the Gedeo zone. Jasmine, bergamot and lemon candy. Light roast; shines as pour-over."
},
"price": {
"amount": 1900,
"currency": "USD"
},
"availability": {
"available": true,
"status": "in_stock"
},
"sku": "TRC-ETH",
"url": "https://nerdee.dev/shop/ethiopia-yirgacheffe",
"options": [
{
"name": "product_size",
"id": "12oz",
"label": "12 oz bag"
},
{
"name": "product_options_other",
"id": "whole-bean",
"label": "Whole bean"
}
]
}
],
"url": "https://nerdee.dev/shop/ethiopia-yirgacheffe",
"categories": [
{
"value": "Single Origin",
"taxonomy": "merchant"
}
],
"options": [
{
"name": "product_size",
"values": [
{
"id": "12oz",
"label": "12 oz bag"
},
{
"id": "2lb",
"label": "2 lb bag"
}
]
},
{
"name": "product_options_other",
"values": [
{
"id": "whole-bean",
"label": "Whole bean"
},
{
"id": "drip",
"label": "Drip grind"
},
{
"id": "espresso",
"label": "Espresso grind"
}
]
}
]
}
],
"pagination": {
"has_next_page": false
},
"ucp": {
"version": "2026-08-25",
"status": "success",
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25"
}
]
}
}
}Create a cart
Signed POST /carts with every item chosen above (one line item each), buyer and optional coupon. CartThrob prices it natively.
Cart cart_01M7N5W3FPYRT5AE23N31634ZN
| Item | Qty | Unit | Line total |
|---|---|---|---|
12 oz bag / Whole beanv_3_iaaxmnsacbjo3j5rju2a23ghztozv24t | 2 | $19.00 | $38.00 |
| Subtotal | $38.00 |
|---|---|
| Discount | −$3.80 |
| Total | $34.20 |
Discount codes: WELCOME10
HTTP transcript
201 POST /ucp/v1/carts Autopilot: create cart · 16:36:34 UTC · 590 ms
Request
POST https://nerdee.dev/ucp/v1/carts
accept: application/json
ucp-agent: profile="https://agent.nerdee.dev/.well-known/ucp"
request-id: 2f082dd8-541c-4aa2-8252-e0fd159e95d8
idempotency-key: 2ca22a75-5aa7-461e-b6fb-20831381aaee
content-type: application/json
content-digest: sha-256=:QVI74T9ZEV7CFeg83H6wR5ukenAqXSxpoeMYASLmnv4=:
signature-input: sig1=("@method" "@authority" "@path" "ucp-agent" "idempotency-key" "cont…
signature: sig1=:M6IwWisBB5Uw4OSRwX6AWqLheDEDEUwygcAspcBaU2l0uSyZg1pn3M2aSpA/Jpy1Es…
{
"line_items": [
{
"item": {
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t"
},
"quantity": 2
}
],
"buyer": {
"first_name": "Pat",
"last_name": "Shopper",
"email": "[email protected]"
},
"discounts": {
"codes": [
"WELCOME10"
]
}
}Response
HTTP 201
content-type: application/json
cache-control: no-store
x-request-id: a209809a461bb3385b353a01b9bb7c49
request-id: 2f082dd8-541c-4aa2-8252-e0fd159e95d8
{
"id": "cart_01M7N5W3FPYRT5AE23N31634ZN",
"line_items": [
{
"id": "li_01M7N5W3FPYRT5AE23N31634ZP",
"item": {
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"price": 1900
},
"quantity": 2,
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "total",
"amount": 3800
}
]
}
],
"currency": "USD",
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "discount",
"amount": -380
},
{
"type": "total",
"amount": 3420
}
],
"buyer": {
"first_name": "Pat",
"last_name": "Shopper",
"email": "[email protected]"
},
"discounts": {
"codes": [
"WELCOME10"
]
},
"messages": [
{
"type": "info",
"code": "destination_required",
"content": "Tax and fulfillment estimates are deferred until a destination is supplied.",
"content_type": "plain"
}
],
"ucp": {
"version": "2026-08-25",
"status": "success",
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25"
}
]
}
},
"expires_at": "2026-11-24T16:36:35Z"
}Create a checkout with a shipping destination
Signed POST /checkout-sessions with cart_id and fulfillment.methods[0].destinations. Cart items, buyer and discounts are inherited.
Checkout checkout_01M7N5W55RPANP8TNRR4QJAYDX requires_escalation expires 2026-11-17T17:36:39Z
| Item | Qty | Unit | Line total |
|---|---|---|---|
12 oz bag / Whole beanv_3_iaaxmnsacbjo3j5rju2a23ghztozv24t | 2 | $19.00 | $38.00 |
| Subtotal | $38.00 |
|---|---|
| Discount | −$3.80 |
| Fulfillment | $6.00 |
| Tax | $0.00 |
| Total | $40.20 |
HTTP transcript
201 POST /ucp/v1/checkout-sessions Autopilot: create checkout from cart · 16:36:36 UTC · 792 ms
Request
POST https://nerdee.dev/ucp/v1/checkout-sessions
accept: application/json
ucp-agent: profile="https://agent.nerdee.dev/.well-known/ucp"
request-id: 526a2775-fb88-4f3c-9809-3a7975381b52
idempotency-key: 8c77bcfa-e9a4-4da5-98b1-f55761ceba30
content-type: application/json
content-digest: sha-256=:l7+M/nuCIWzGKnKGiM0GPx0GQp5eOhdVxzQp7DXMlnE=:
signature-input: sig1=("@method" "@authority" "@path" "ucp-agent" "idempotency-key" "cont…
signature: sig1=:5+P6ChKTVroeVLBkXUtlQE1eEywhcfTpfh54ekH0ZjhjKCObMaTlyTnYdz7dNPvUm1…
{
"cart_id": "cart_01M7N5W3FPYRT5AE23N31634ZN",
"fulfillment": {
"methods": [
{
"type": "shipping",
"destinations": [
{
"first_name": "Pat",
"last_name": "Shopper",
"street_address": "123 Example Street",
"address_locality": "Pittsburgh",
"address_region": "PA",
"postal_code": "15222",
"address_country": "US"
}
]
}
]
}
}Response
HTTP 201
content-type: application/json
cache-control: no-store
x-request-id: 44a4940603ac9d9ef3e130d206dd772a
request-id: 526a2775-fb88-4f3c-9809-3a7975381b52
{
"id": "checkout_01M7N5W55RPANP8TNRR4QJAYDX",
"line_items": [
{
"id": "li_01M7N5W3FPYRT5AE23N31634ZP",
"item": {
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"price": 1900
},
"quantity": 2,
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "total",
"amount": 3800
}
]
}
],
"currency": "USD",
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "discount",
"amount": -380
},
{
"type": "fulfillment",
"amount": 0
},
{
"type": "tax",
"amount": 0
},
{
"type": "total",
"amount": 3420
}
],
"buyer": {
"first_name": "Pat",
"last_name": "Shopper",
"email": "[email protected]"
},
"discounts": {
"codes": [
"WELCOME10"
]
},
"fulfillment": {
"methods": [
{
"id": "shipping",
"type": "shipping",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"destinations": [
{
"first_name": "Pat",
"last_name": "Shopper",
"street_address": "123 Example Street",
"address_locality": "Pittsburgh",
"address_region": "PA",
"postal_code": "15222",
"address_country": "US",
"id": "destination",
"type": "shipping_address"
}
],
"selected_destination_id": "destination",
"groups": [
{
"id": "shipment",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"options": [
{
"id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef",
"title": "Standard (3-5 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 600
},
{
"type": "total",
"amount": 600
}
]
},
{
"id": "ship_530aaa0d963b8f809619350cfdce4b993757212226a5306539b8a5e03ac69266",
"title": "Priority (1-2 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 1400
},
{
"type": "total",
"amount": 1400
}
]
}
],
"selected_option_id": null
}
]
}
]
},
"links": [
{
"type": "privacy_policy",
"url": "https://nerdee.dev/privacy"
},
{
"type": "terms_of_service",
"url": "https://nerdee.dev/terms"
}
],
"cart_id": "cart_01M7N5W3FPYRT5AE23N31634ZN",
"status": "incomplete",
"expires_at": "2026-11-17T17:36:36Z",
"messages": [
{
"type": "error",
"code": "shipping_option_required",
"severity": "recoverable",
"content": "Select a shipping option.",
"path": "$.fulfillment.methods",
"content_type": "plain"
},
{
"type": "error",
"code": "buyer_handoff_required",
"severity": "requires_buyer_input",
"content": "The shopper completes payment on the merchant site.",
"path": "$.payment",
"content_type": "plain"
}
],
"continue_url": "https://nerdee.dev/ucp/continue/Apa_NEUtuWMg_U-WQq3dcWU0A_CgtZ3MGfovir4i8Vk",
"ucp": {
"version": "2026-08-25",
"status": "success",
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25"
}
]
},
"payment_handlers": {}
}
}Select a shipping option
Signed PUT /checkout-sessions/{id} — a full replace built from the current checkout (server-owned fields removed) with groups[0].selected_option_id set.
Selected option applied. Status requires_escalation
HTTP transcript
200 PUT /ucp/v1/checkout-sessions/checkout_01M7N5W55RPANP8TNRR4QJAYDX Autopilot: select shipping (PUT full replace) · 16:36:39 UTC · 799 ms
Request
PUT https://nerdee.dev/ucp/v1/checkout-sessions/checkout_01M7N5W55RPANP8TNRR4QJAYDX
accept: application/json
ucp-agent: profile="https://agent.nerdee.dev/.well-known/ucp"
request-id: 892e38f8-b767-45e1-b63e-16ee74f80313
idempotency-key: 233faa76-c995-42f6-a059-2e18d98cf935
content-type: application/json
content-digest: sha-256=:y6XMQMcoyVv9Ju1A/D93gOs59HWU95JKssoXIVh8cy4=:
signature-input: sig1=("@method" "@authority" "@path" "ucp-agent" "idempotency-key" "cont…
signature: sig1=:l5MCQdaIknd6ZIlrdOz9MJHJ73s+PnUrEf1G5o1WB3mh/qkJukgbUnKN86M2UP+/hU…
{
"line_items": [
{
"id": "li_01M7N5W3FPYRT5AE23N31634ZP",
"item": {
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"price": 1900
},
"quantity": 2,
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "total",
"amount": 3800
}
]
}
],
"buyer": {
"first_name": "Pat",
"last_name": "Shopper",
"email": "[email protected]"
},
"discounts": {
"codes": [
"WELCOME10"
]
},
"fulfillment": {
"methods": [
{
"id": "shipping",
"type": "shipping",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"destinations": [
{
"first_name": "Pat",
"last_name": "Shopper",
"street_address": "123 Example Street",
"address_locality": "Pittsburgh",
"address_region": "PA",
"postal_code": "15222",
"address_country": "US",
"id": "destination",
"type": "shipping_address"
}
],
"selected_destination_id": "destination",
"groups": [
{
"id": "shipment",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"options": [
{
"id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef",
"title": "Standard (3-5 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 600
},
{
"type": "total",
"amount": 600
}
]
},
{
"id": "ship_530aaa0d963b8f809619350cfdce4b993757212226a5306539b8a5e03ac69266",
"title": "Priority (1-2 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 1400
},
{
"type": "total",
"amount": 1400
}
]
}
],
"selected_option_id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef"
}
]
}
]
}
}Response
HTTP 200
content-type: application/json
cache-control: no-store
x-request-id: 9fa316ffcfe446804cf328cfa941d597
request-id: 892e38f8-b767-45e1-b63e-16ee74f80313
{
"id": "checkout_01M7N5W55RPANP8TNRR4QJAYDX",
"line_items": [
{
"id": "li_01M7N5W3FPYRT5AE23N31634ZP",
"item": {
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"price": 1900
},
"quantity": 2,
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "total",
"amount": 3800
}
]
}
],
"currency": "USD",
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "discount",
"amount": -380
},
{
"type": "fulfillment",
"amount": 600
},
{
"type": "tax",
"amount": 0
},
{
"type": "total",
"amount": 4020
}
],
"buyer": {
"first_name": "Pat",
"last_name": "Shopper",
"email": "[email protected]"
},
"discounts": {
"codes": [
"WELCOME10"
]
},
"fulfillment": {
"methods": [
{
"id": "shipping",
"type": "shipping",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"destinations": [
{
"first_name": "Pat",
"last_name": "Shopper",
"street_address": "123 Example Street",
"address_locality": "Pittsburgh",
"address_region": "PA",
"postal_code": "15222",
"address_country": "US",
"id": "destination",
"type": "shipping_address"
}
],
"selected_destination_id": "destination",
"groups": [
{
"id": "shipment",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"options": [
{
"id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef",
"title": "Standard (3-5 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 600
},
{
"type": "total",
"amount": 600
}
]
},
{
"id": "ship_530aaa0d963b8f809619350cfdce4b993757212226a5306539b8a5e03ac69266",
"title": "Priority (1-2 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 1400
},
{
"type": "total",
"amount": 1400
}
]
}
],
"selected_option_id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef"
}
]
}
]
},
"links": [
{
"type": "privacy_policy",
"url": "https://nerdee.dev/privacy"
},
{
"type": "terms_of_service",
"url": "https://nerdee.dev/terms"
}
],
"cart_id": "cart_01M7N5W3FPYRT5AE23N31634ZN",
"status": "requires_escalation",
"expires_at": "2026-11-17T17:36:39Z",
"messages": [
{
"type": "error",
"code": "buyer_handoff_required",
"severity": "requires_buyer_input",
"content": "The shopper completes payment on the merchant site.",
"path": "$.payment",
"content_type": "plain"
}
],
"continue_url": "https://nerdee.dev/ucp/continue/Apa_NEUtuWMg_U-WQq3dcWU0A_CgtZ3MGfovir4i8Vk",
"ucp": {
"version": "2026-08-25",
"status": "success",
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25"
}
]
},
"payment_handlers": {}
}
}Complete the checkout (browser handoff)
Signed POST /checkout-sessions/{id}/complete with {"payment":{}}. No card data is sent: the expected result is requires_escalation with a continue_url.
Status requires_escalation
| Subtotal | $38.00 |
|---|---|
| Discount | −$3.80 |
| Fulfillment | $6.00 |
| Tax | $0.00 |
| Total | $40.20 |
HTTP transcript
200 POST /ucp/v1/checkout-sessions/checkout_01M7N5W55RPANP8TNRR4QJAYDX/complete Autopilot: complete checkout (handoff) · 16:36:41 UTC · 1016 ms
Request
POST https://nerdee.dev/ucp/v1/checkout-sessions/checkout_01M7N5W55RPANP8TNRR4QJAYDX/complete
accept: application/json
ucp-agent: profile="https://agent.nerdee.dev/.well-known/ucp"
request-id: 8871f02d-7cb7-49ee-8a9e-3b95bd494acf
idempotency-key: 87423b68-5003-44c4-994b-b3c2c039a641
content-type: application/json
content-digest: sha-256=:7k96dTNr+nKYhrvW8B0ebgrehKALvJuNgTZm66A9Ij8=:
signature-input: sig1=("@method" "@authority" "@path" "ucp-agent" "idempotency-key" "cont…
signature: sig1=:X5dniLE32emUEGWVR/OfWujtFQXF7mPUcAImrY3ALcdTtrMl+zDZQR+PSlwKh6JI+X…
{
"payment": {}
}Response
HTTP 200
content-type: application/json
cache-control: no-store
x-request-id: aa7f8d0a2f45cd9b7423a5e8c2cd95e6
request-id: 8871f02d-7cb7-49ee-8a9e-3b95bd494acf
{
"id": "checkout_01M7N5W55RPANP8TNRR4QJAYDX",
"line_items": [
{
"id": "li_01M7N5W3FPYRT5AE23N31634ZP",
"item": {
"id": "v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t",
"title": "12 oz bag / Whole bean",
"price": 1900
},
"quantity": 2,
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "total",
"amount": 3800
}
]
}
],
"currency": "USD",
"totals": [
{
"type": "subtotal",
"amount": 3800
},
{
"type": "discount",
"amount": -380
},
{
"type": "fulfillment",
"amount": 600
},
{
"type": "tax",
"amount": 0
},
{
"type": "total",
"amount": 4020
}
],
"buyer": {
"first_name": "Pat",
"last_name": "Shopper",
"email": "[email protected]"
},
"discounts": {
"codes": [
"WELCOME10"
]
},
"fulfillment": {
"methods": [
{
"id": "shipping",
"type": "shipping",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"destinations": [
{
"first_name": "Pat",
"last_name": "Shopper",
"street_address": "123 Example Street",
"address_locality": "Pittsburgh",
"address_region": "PA",
"postal_code": "15222",
"address_country": "US",
"id": "destination",
"type": "shipping_address"
}
],
"selected_destination_id": "destination",
"groups": [
{
"id": "shipment",
"line_item_ids": [
"li_01M7N5W3FPYRT5AE23N31634ZP"
],
"options": [
{
"id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef",
"title": "Standard (3-5 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 600
},
{
"type": "total",
"amount": 600
}
]
},
{
"id": "ship_530aaa0d963b8f809619350cfdce4b993757212226a5306539b8a5e03ac69266",
"title": "Priority (1-2 business days)",
"totals": [
{
"type": "fulfillment",
"amount": 1400
},
{
"type": "total",
"amount": 1400
}
]
}
],
"selected_option_id": "ship_d4578316001e8cefc69e2a978ff65c13afbe4dc2ffc393c9f48bdbd6a43f90ef"
}
]
}
]
},
"links": [
{
"type": "privacy_policy",
"url": "https://nerdee.dev/privacy"
},
{
"type": "terms_of_service",
"url": "https://nerdee.dev/terms"
}
],
"cart_id": "cart_01M7N5W3FPYRT5AE23N31634ZN",
"status": "requires_escalation",
"expires_at": "2026-11-17T17:36:39Z",
"messages": [
{
"type": "error",
"code": "buyer_handoff_required",
"severity": "requires_buyer_input",
"content": "The shopper completes payment on the merchant site.",
"path": "$.payment",
"content_type": "plain"
}
],
"continue_url": "https://nerdee.dev/ucp/continue/Apa_NEUtuWMg_U-WQq3dcWU0A_CgtZ3MGfovir4i8Vk",
"ucp": {
"version": "2026-08-25",
"status": "success",
"capabilities": {
"dev.ucp.shopping.catalog.search": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.catalog.lookup": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.cart": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.checkout": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.discount": [
{
"version": "2026-08-25"
}
],
"dev.ucp.shopping.fulfillment": [
{
"version": "2026-08-25"
}
]
},
"payment_handlers": {}
}
}Shopper continues on the store and pays
Open checkout as shopper ↗ (opens in new tab)
Bearer link. Anyone with this URL can load this prepared cart. Open it in the shopper's browser only; don't share or log it. It expires with the checkout (2026-11-17T17:36:39Z).
- The link redirects through the store's handoff Action, loads the native CartThrob cart, and lands on the checkout page.
- Review items, coupon, shipping and tax, then pay with the store's gateway (in dev, the Dummy gateway test card).
- Come back here and refresh the order status below.
Order status and webhook
Signed GET /checkout-sessions/{id} using the same platform identity. After payment it becomes completed with an order. The store's outbox worker then POSTs a signed order event to https://agent.nerdee.dev/webhooks/orders.
- Checkout
checkout_01M7N5W55RPANP8TNRR4QJAYDXrequires_escalation
Webhooks for this checkout
None received yet. Delivery happens when the store runs php system/ee/eecli.php ct_ai:outbox (normally cron, about once a minute).