Skip to main content
GET
Get Order

Authorizations

X-API-KEY
string
header
required

API key required for authentication

Path Parameters

orderId
string
required

The order ID, in UUID format. Create Order returns it as order.orderId.

Example:

"9c82ef99-617f-497d-9abb-fd355291681b"

Response

Order retrieved successfully.

lineItems
(Exact-in (fixed spend) · object | Exact-out (fixed quantity) · object)[]
required

Items in the order. Each line item has its own quote and delivery status.

locale
enum<string>
required

Locale for the checkout, in IETF BCP 47. It impacts the email receipt language. Ensure your UI is set to the same language as specified here. Throws an error if passed an invalid language.

Available options:
Klingon,
de-DE,
en-US,
es-ES,
fr-FR,
it-IT,
ja-JP,
ko-KR,
pt-PT,
ru-RU,
th-TH,
tr-TR,
uk-UA,
vi-VN,
zh-CN,
zh-TW
Example:

"en-US"

orderId
string<uuid>
required

Unique ID of the order, in UUID format.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Example:

"b2959ca5-65e4-466a-bd26-1bd05cb4f837"

payment
object
required

Payment leg of the order. Read status to find the next action.

phase
enum<string>
required

Current phase of the order lifecycle. quote: the quote is not final. payment: the order waits for the payment. delivery: the payment is received and delivery is in progress. completed: every line item is delivered.

Available options:
completed,
delivery,
payment,
quote
Example:

"payment"

quote
object
required

Quote for the whole order. Its values aggregate the line item quotes.

Terms that apply to the order. Absent from List Orders responses.

metadata
object

Metadata that you sent when you created the order.

Example: