commerce

GET /v1/orders/{orderId}/payment-step

Whether this order can be paid, awaits the bank, or is settling.

All commerce endpoints

All developer docs →

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

Authentication

Send an API key as a bearer token. The endpoint checks billing.payment.manage; a key without it is refused with 403, not 404.

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 GET https://api.zinndigital.com/v1/orders/{orderId}/payment-step \
  -H "Authorization: Bearer zdk_live_…"

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

Read-only; it never charges or cancels. confirm means the payment processor reports the payment is waiting for the customer's bank (3-D Secure) or another customer approval. settling means money is moving. pay is every other case, including a card form left with no card and a processor that could not be read.

Parameters

NameTypeRequiredWhat it is
orderId (path)UuidYesThe order's id.

Response

NameTypeRequiredWhat it is
stepstring<pay, confirm, settling>Yes—

Errors this endpoint can return

401 · 403 · 404 · 429