API reference / Orders

GET/v1/orders/{order_id}/status

Retrieve order status

Returns the stored status. refresh=true requests a live check at
most once per 5 minutes per order. A faster repeat returns
429 rate_limited with Retry-After.

Requires API keyRate limited

Authentication

Send Authorization: Bearer <key> or the X-API-Key header. A sample key starts with bk_test_. A live key starts with bk_live_.

Scopes

orders:read

Parameters

order_idpath · stringrequired

Order id returned by create. The form is ord_ plus 26 lowercase
Crockford base32 characters.

refreshquery · boolean

When true, request a live status check if the last check was at least 5 minutes ago.

Responses

200Status
401Missing or invalid API key. unauthenticated
403Missing scope, or `client_account_id` is not allowed for this key. forbiddenaccount_not_allowed
404No order with this id is visible to this key. order_not_found
429Per-key rate limit, or status refresh sooner than 5 minutes. rate_limited
502The service could not complete the request. A 503 also sets `Retry-After`. Retry only when that header is present. service_unavailable
503The service is busy. Retry after the indicated delay. service_unavailable
504The request timed out. request_timeout

Returns the OrderStatusView object.