commerce
GET /v1/orders/{orderId}/payment-step
Whether this order can be paid, awaits the bank, or is settling.
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
| Name | Type | Required | What it is |
|---|---|---|---|
orderId (path) | Uuid | Yes | The order's id. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
step | string<pay, confirm, settling> | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 429