Create a Treasury conversion quote
Convert balances
Create a Treasury conversion quote
Creates an exact, short-lived quote to convert between AUD and an enabled stablecoin in this tenant account.
POST
Create a Treasury conversion quote
What this endpoint does
Creates an exact, short-lived quote to convert between AUD and an enabled stablecoin in this tenant account.When to use it
Create it after the user chooses a direction and source amount, then display its all-in rate, fee, available source balance, source debit, destination amount, network, and expiry for review. The console stores the returned quote ID internally.Before you call
Use a secret API key withtreasury:write. The pair and settlement network must be enabled and the source amount must meet current limits.
Money and balance effect
Creating a quote does not reserve or move money. The source wallet is checked and reserved only when the quote is accepted.States and completion
A quote is usable until its expiry. If it expires or no longer passes acceptance checks, create a fresh quote rather than altering it.Safe retries
Send a uniqueIdempotency-Key for the logical action. If the response is lost, retry the same payload with the same key; never create a new key merely because the first response timed out.
Read Conversions and withdrawals for the complete workflow.Authorizations
Send the same Wayex API key as Authorization: Bearer <key>.
Headers
A unique key for this logical action. Reuse the same key and identical payload when retrying after an unknown response.
Required string length:
8 - 255Body
application/json
Available options:
AUD, USDC, USDT Available options:
AUD, USDC, USDT Available options:
ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, solana, tron Pattern:
^\d+(\.\d+)?$Minimum string length:
1Response
201 - application/json
Minimum string length:
1Minimum string length:
1Minimum string length:
1Available options:
ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, solana, tron Pattern:
^\d+(\.\d+)?$Minimum string length:
1
