NERDEE

Agent Console

Walk a UCP purchase end to end: this app plays the shopping platform, the store is CartThrob AI. Run run_20261117163625_69d9ab77.

1

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"
        }
    ]
}
3

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

ItemQtyUnitLine total
12 oz bag / Whole bean
v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t
2$19.00$38.00
Totals
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"
}
4

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

ItemQtyUnitLine total
12 oz bag / Whole bean
v_3_iaaxmnsacbjo3j5rju2a23ghztozv24t
2$19.00$38.00
Totals
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": {}
    }
}
5

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.

Shipping options for this destination

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": {}
    }
}
6

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

Totals
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": {}
    }
}
7

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).

  1. The link redirects through the store's handoff Action, loads the native CartThrob cart, and lands on the checkout page.
  2. Review items, coupon, shipping and tax, then pay with the store's gateway (in dev, the Dummy gateway test card).
  3. Come back here and refresh the order status below.
8

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_01M7N5W55RPANP8TNRR4QJAYDX requires_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).