Skip to main content
POST
Sandbox Create a new instant swap order

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
walletId
string
required

Wallet/Sub-wallet ID

Example:

"wallet_abc123"

fromCoin
string
required

Source coin symbol

Example:

"USDT"

fromAmount
string
required

Amount to swap from

Example:

100

toCoin
string
required

Target coin symbol

Example:

"ETH"

extId
string

External reference ID from client's system.

instantSync
boolean
default:false
deprecated

Immediately sync wallet asset instead of queuing the sync job (default is queued)

Example:

false

Response

success
boolean
required
Example:

true

data
object
required