Retrieve a checkout
The hosted checkout payload for an order or an invoice, discriminated by type. This is what the payment page polls while an attempt is live.
activeAttempt carries the locked quote, the deposit address and the confirmation progress while a quote is in flight, and is null once it lapses — the buyer picks a token again for a fresh one. An order’s per-item delivery appears only once the order is completed.
Unauthenticated: possession of the checkout id is the credential, so send no API key. The id is unguessable and every payload is redacted for a buyer audience.
Path Parameters
The checkout to read — an order id or an invoice id. Base58 short id, 21–22 characters (never 0, O, I or l), e.g. 7Kq2mVn8pRt3XwYz5Bd4L — the value that appears in checkout and invoice links, and the one this API takes as a path id.
^[1-9A-HJ-NP-Za-km-z]{21,22}$"7Kq2mVn8pRt3XwYz5Bd4L"
Response
The checkout, tagged order or invoice.
- Option 1
- Option 2
The hosted checkout payload for an order.
Where the order is in its lifecycle. pending — created, waiting for the buyer to pay. completed — paid in full; any digital delivery has been released. partial — funds arrived but fell short of the locked quote. expired — the payment window closed without full payment, and any reserved stock went back to the pool.
pending, completed, partial, expired "pending"