Skip to content

Auto-converting

If the available balance for a withdrawal currency is insufficient, Cryptonly may still complete the withdrawal by converting other balances into that currency.

Set allowAutoConvert: true on POST /withdrawal/quote. If the balance is short of amount plus the on-chain fee, the quote adds a conversion step first. The response includes an autoConvert breakdown (fromAssetCode, toAssetCode, fromAmount, toAmount, commissionAmount) when this applies; POST /withdrawal/commit reuses the locked conversion from the quote.

If allowAutoConvert is omitted or false (the default) and the balance is insufficient, the quote fails.

USDT ↔ USDC converts at 1:1 with no commission. Every other pair has a 0.05% commission. commissionAmount is in fromAssetCode and is already included in fromAmount — see Fees and commissions.