Skip to main content
GET
Get an order

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Keep it on your server. See Authentication. A request from a location we refuse gets a 403 with Access denied, whether or not it has a valid key: where you can call from.

Path Parameters

checkout_id
string<uuid>
required

The checkout_id Buy packs or Buy a card returned, the transaction_id of a sell-back, or any order's checkout_id from List orders.

Response

The order.

checkout_id
string
required

The order's id. Get an order takes it.

order_id
string | null
required

The Idempotency-Key you sent with a purchase. null for a sell-back or a sale.

type
enum<string>
required
Available options:
pack_purchase,
card_purchase,
sell_back,
listing_sale
status
string
required

completed, or pending while a purchase is still running or held for review. New values can be added, so don't fail on one you don't know.

created_at
string
required
completed_at
string | null
required
amount
number | null
required

What a purchase charged (a card buy includes its $1 fee), what a sell-back paid, or what a listing sold for, in USD.

fee
number | null
required

The $1 buyer fee on a card buy or the $1 seller fee on a sale. 0 otherwise.

balance_change
number | null
required

The order's effect on your balance. null until something shows the order was charged.

reconciled
boolean
required

The order went through but its response was lost, and we closed it from our own records.

pack_type
string | null
required
quantity
integer | null
required
pull_ids
string[]
required
card_id
string | null
required
listing_id
string | null
required
transaction_id
string | null
required

For a card buy, the purchase_id that Get vault and Sell back use.

pulls
object[]
required

A pack purchase's pulls. Empty for any other order.

item
object | null
required

The card, for a card buy, a sell-back or a sale.

payout_rate
number | null
required

Sell-backs only.

basis_value
number | null
required

Sell-backs only.