For the complete documentation index, see llms.txt. This page is also available as Markdown.

Types

Every enum and object type the API endpoints refer to, in one place.

Currencies and channels

contractAddress is omitted, not null, on a native asset — test for absence rather than comparing against null. Note also that OrderFiatDetails carries the single carrier chosen for the order; the carriers array of everything a channel supports is a different shape, returned by Get available currencies.

Orders

Which transitions are real, and which statuses are actually final, is on Order statuses — fewer are final than the names suggest. The full Order object every order endpoint returns is spelled out on Get order.

Pricing

chargedFees with recipient: "merchant" is your revenue on the order. recipient: "blockchain" is gas, and recipient: "provider" is the liquidity provider's cut. The platform's own fee has the id service_fee.

Transfer instructions

otpChannel tells you how the code reached the user, so you can word your prompt correctly. Do not assume SMS. Render transferDetails as it arrives rather than picking known ids — the set grows.

What each transfer type means for your UI is on Transfer types explanation.

Fields

For any field with type: "enum", the options array on that field is the authoritative list of accepted values — read it rather than hard-coding one. That applies to bankCode, carrierCode, and to the sandbox-only depositSandboxForcedFlow / payoutSandboxForcedFlow fields, which do not offer every member of the enum on every leg: a fiat deposit typically offers all four deposit_* values, a crypto deposit only deposit_success and deposit_invalid, and a payout leg only payout_success and payout_failed.

KYC

Limits

Returned by Get limits.

Last updated