public
POST /v1/public/checkout/order-status
Read a guest order's real payment state back after checkout.
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/public/checkout/order-status \
-H "Content-Type: application/json" \
-d '{ "status_token": <string> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
ORDERCONF-1121. The storefront's order-complete page asks this before it says anything about an order, so a buyer whose order is still pending_payment is told to finish paying instead of "your order is confirmed". Authorised by the status_token the checkout returned (never the order id alone), sent in the BODY so it stays out of access logs and Referer. Reads only: nothing is charged, sent or changed. A forged, foreign or unknown token and a missing order are the same 404.
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
status_token | string | Yes | The status_token from POST /v1/public/checkout. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
order_id | Uuid | Yes | UUIDv7 identifier — sortable by creation time. |
state | string<paid, payment_due, processing, failed, closed> | Yes | paid — the money is in (paid, being delivered, delivered). payment_due — nothing has arrived, including a card the bank wants authenticated: pay now (card, PayPal or crypto).… |
currency | string | Yes | ISO 4217 code of the order. |
total_minor | integer | Yes | What the order owes, tax included, in minor units. |
human_ref | string | Yes | The order's human reference (ZD-ORD-…), the one the receipt e-mail and support use (P1-046). It names the order, not who placed it. |
Errors this endpoint can return
404 · 422 · 429