Base URL
Your API base URL is shown in API & SDK in the dashboard, alongside your keys. It is tied to your account, so read it from there rather than copying one from a guide. Every example on these pages uses an environment variable for it:POST and accept and return JSON.
Authentication
string
required
Your publishable key, from API & SDK in the dashboard.
string
required
application/jsonThe publishable key identifies your account for quoting. It is not a secret in the way a webhook secret is — it appears in browser traffic by design. It cannot move funds or change your settings.
Conventions
Amounts are base units
Amounts are base units
Token amounts are strings in the token’s smallest unit. On most chains USDC, USDT, and EURC use 6 decimals, so
"49000000" is 49.00.Do not hardcode 6. Decimals vary by chain — on BNB Chain these tokens are 18-decimal. Use the tokenDecimals field returned with the payment.Strings, not numbers — a large amount would lose precision as a float.Fiat amounts are decimals
Fiat amounts are decimals
Cart totals are ordinary decimal numbers:
49.00.Chains are numeric IDs
Chains are numeric IDs
1 Ethereum, 8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 56 BNB, 43114 Avalanche. Testnets have their own IDs.Timestamps are ISO 8601
Timestamps are ISO 8601
UTC, for example
2026-08-09T14:32:11.204Z.Addresses are checksummed
Addresses are checksummed
EVM addresses are returned checksummed. TRON addresses are base58 starting with
T and are case-sensitive — never normalise them.Typical flow
Create a quote
Locks a price for a short window and produces a payment ID. create-quote.
Create a payment
Produces either a pool address to sign against, or a one-time deposit address. create-payment.
Wait for confirmation
Use webhooks. Poll payment-status only as a backstop.
Rate limits
Rate limited per merchant. Exceeding returns429 with a Retry-After header — respect it and back off.
Do not build these yourself
Unless you have a specific reason, embed the checkout instead.Errors
Every error code and what to do about it.