Fetch the current status of an order by ID. Use this to poll for async completion after a payment is submitted.
POST /v1/order and directing the user through an external payment flow, use this endpoint to poll for the outcome. The order status will progress from STARTED to one of the terminal states: COMPLETED, FAILED, or EXPIRED.
Bearer <userAccessToken>POST /v1/order. Example: "abcd_1234""payment_1234"| Value | Description |
|---|---|
STARTED | Order created; payment not yet confirmed. Continue polling. |
COMPLETED | Payment received and order fulfilled successfully. |
FAILED | Payment failed or was rejected. Check metadata.note for context. |
EXPIRED | Order was not paid within the allowed time window. |
status is COMPLETED.401 — Authentication Error
403 — Authorization Error
404 — Order Not Found
orderId. Verify the ID matches one returned by POST /v1/order.498 — Invalid Client Key
X-Client-ID header value is not recognised.499 — Missing Client Key
X-Client-ID header is absent from the request.500 — Internal Server Error
status reaches a terminal value (COMPLETED, FAILED, or EXPIRED).