v3

Options

What else you can set on a checkout, and when it matters.

Everything here is optional and goes in the same POST /api/v3/checkouts body. The endpoint reference has the schema and the types; this is what each one is for and when you would reach for it.

Language

locale picks the language the page renders in — nl, en, de, fr or es, with a region if you have one to hand. Casing does not matter and the region is discarded, so de-AT and de-DE are the same German. Omitted means English, and a language we do not ship is refused rather than quietly served in English.

Deciding for the customer

fixed locks parts of the trade: the page still shows them, but the customer cannot change them.

{ "fixed": { "amount": true, "currency": true } }

Lock both for a set top-up where the trade was decided on your side. Leave them open for a generic "buy crypto" button, where the point is that the customer chooses.

showWalletAddress is the opposite kind of choice — whether the customer sees the address their coins go to. Off by default: for most integrations the address is your business, and showing it invites questions you cannot answer. Turn it on when the customer supplied it themselves.

The customer

Every checkout belongs to a customer, named by your own identifier:

User-Identifier: your-own-id-for-this-customer

Pass identifier in the body as well and the checkout registers it for you, saving the separate POST /api/v3/users/identifiers call. Linked already, the page signs the customer in by itself; not yet, it walks them through signing in or registering and accepting the link, then continues into the trade. An identifier needs your partner access token, not the api-key.

It is a delegation credential rather than a label, and there is more to it than fits here: user identifiers is the whole story, including why it must never travel in a URL.

Tying an order to your records

partnerOrderIdentifier is yours to set, and we echo it back on the response and on every webhook for that order — so you match our order to whatever you call it without keeping a mapping table.

{ "partnerOrderIdentifier": "cart-99182" }

expiresIn sets the window, in seconds. An hour by default.

{ "expiresIn": 259200 }

Between five minutes and seven days. Outside that it is refused rather than quietly clamped, because a link that silently expired days earlier than you asked for is discovered by a customer, not by you.

Short windows suit a redirect: you create the link and the browser follows it immediately. Long windows suit a link you send out — an email, a QR code — where the recipient opens it whenever they get to it.

A long window means an older price

The order behind the link is priced when the link is created, not when it is opened. A three-day link can therefore show a customer a rate from three days ago. If the price has to be current at the moment they arrive, construct the link yourself instead: the page prices the trade when they get there, at the cost of the order id you would otherwise have had up front.

Coming back to your app

returnUrl is where the customer lands when the order is done.

{ "returnUrl": "https://your.app/orders/complete" }

The host is recorded on the order when you create it, and that is the only host the checkout will return to — so a later link claiming otherwise is not followed. Omit it and the customer finishes on our page.

The redirect is not the outcome

A customer can close the tab, and a sell finishes when their coins confirm rather than when they leave the page. Use returnUrl for where to put them, and webhooks for what actually happened.