Skip to main content
Stablecoin Account API Publisher Disclaimer Conversions exchange one currency in your account for another — crypto to fiat, fiat to crypto, or crypto to crypto — at a rate you lock in advance. The flow is always two calls: create a quote, then create the conversion referencing it before the quote expires.
Prerequisites
  • An API token sent as the x-auth-token header
  • Sufficient available_balance in the selling currency

Step 1: Create a quote

Call Create Quote with the currency pair, the amount, and which side the amount fixes:
fixed_currency names the side amount applies to — fix the sell side to spend an exact amount, or the buy side to receive an exact amount.
Pair restrictions: for crypto-to-crypto, only USDT paired with one other supported coin is allowed. If either side is a volatile asset (for example BTC or ETH), only USDT can be the fixed currency.
Response:
The quoted rate holds between valid_from and valid_to. If the window passes before you execute, request a new quote — an expired quote_id is rejected.

Step 2: Execute the conversion

Call Create Conversion with the quote_id and the amounts exactly as quoted, plus an idempotency key:
The response returns the conversion order — order_id, short_order_id, status, both currency sides, the quote_price used, and fees. order_type is Sell or Buy depending on direction.

Step 3: Track the conversion

Conversion status flows through Submitted / Pending to Success, Failed, or Submit Failed. Updates arrive on the Conversion webhook: Query on demand with Retrieve Conversion or reconcile with List Conversions (filter by order_status, order_id, or balance_currency). Completed conversions carry a settle_time.