public

POST /v1/public/checkout/order-status

Read a guest order's real payment state back after checkout.

All public endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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

NameTypeRequiredWhat it is
status_tokenstringYesThe status_token from POST /v1/public/checkout.

Response

NameTypeRequiredWhat it is
order_idUuidYesUUIDv7 identifier — sortable by creation time.
statestring<paid, payment_due, processing, failed, closed>Yespaid — 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).…
currencystringYesISO 4217 code of the order.
total_minorintegerYesWhat the order owes, tax included, in minor units.
human_refstringYesThe 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