public

POST /v1/public/checkout/pay

Pay a guest checkout's order, then land signed in. Unauthenticated.

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/pay \
  -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

P1-040. Opens the chosen rail, confirms a card, or captures a PayPal approval for the order a guest checkout just placed, through the same money path as the partner pay page: a stored card is never charged and no wallet is spent. save_card (default true, owner A023) keeps the card for renewals; renew_automatically false records "pay each period yourself". Once the order is paid, and at most 30 minutes after the capture, the response carries sign_in_url ONCE per person: a single-use, 120-second sign-in link. The address stays unverified until the buyer opens the confirm mail (verify after).

Request body

NameTypeRequiredWhat it is
status_tokenstringYes—
localestringNoThe language reason_message is written in (default en).
railstringNoThe rail the payer chose, from the rails the summary offered. A rail this order cannot settle on is refused, never replaced by a card form. paypal_card (M08) is card through…
setup_intent_idstringNo—
paypal_order_idstringNo—
save_cardbooleanNo—
renew_automaticallybooleanNo—
local_methodstringNoPAYPALCARDS r13. With rail: paypal, a bank method from the summary's local_methods; opens that bank's page (redirect_url). A method the order does not offer is refused (409).

Response

NameTypeRequiredWhat it is
statusstringYes—
settledbooleanYes—
client_tokenstringYesA card-form client secret for the browser SDK, when one is needed.
setup_intent_idstringYes—
redirect_urlstringYesWhere to send the browser to approve the payment on a rail that finishes off-site — a crypto invoice today. Empty on the card and PayPal rails, both of which finish on this page.
action_kindstringYes—
paypal_order_idstringYesThe PayPal order the browser's SDK attaches to, on the PayPal rail. Minted by us — an id a client invents is refused by the gateway, not honoured.
railstringYesWhich rail this step belongs to (stripe, paypal, nowpayments).
return_urlstringYesThe partner URL to send the browser to
reason_codestringYesOn payment_failed, the decline class of the newest failed attempt (bank_declined, insufficient_funds, limit, authentication, card_expired, card_unusable,…
reason_messagestringYesOn payment_failed, the sentence to show the payer for reason_code, in the locale the request named. It names the bank's reason only when the bank gave one and never blames…
methodsstring[]YesOn payment_failed, the rails this order can still be paid on (the same list as GET → rails), so the payer can try another way; empty otherwise.
sign_in_urlstringYesA single-use, 120-second sign-in link, only once the order is paid; "" otherwise. Follow it at once; never store or log it.

Errors this endpoint can return

404 · 409 · 422 · 429