POST
/
api
/
v1
/
merchants
/
exchange
/
create

Authorizations

Authorization
string
header
required

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

Body

application/json
amount
number
required

Amount to exchange from the source currency

Required range: x > 0Must be a multiple of 1e-8
fromCurrency
string
required

Symbol of the source cryptocurrency

toCurrency
string
required

Symbol of the target cryptocurrency

Response

200 - application/json
amount
number
createdAt
string
fromWallet
object
id
string
rate
number
status
enum<string>
Available options:
SUCCESS,
FAILED
toAmount
number
toWallet
object