API reference / Orders

GET/v1/orders/{order_id}

Retrieve an order

Returns one order created with this key. An unknown id, or an order
whose account is not allowed, is 404.

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.

Responses

200The order
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

Returns the Order object.