Skip to main content
POST
Create exchange

Authorizations

x-login
string
header
required

Business xLogin

x-trans-key
string
header
required

Business xTransKey

x-date
string
header
required

ISO8601 datetime

Authorization
string
header
required

V2-HMAC-SHA256 signature. Example: V2-HMAC-SHA256, Signature: <hash>

Body

application/json
transactions_type
enum<string>
required

Must be "exchange" for a crypto exchange transaction.

Available options:
exchange
currency_sent
string
required

Source currency (ISO code, lowercase). Must be active in your wallet.

Example:

"usd"

currency_received
string
required

Destination currency (ISO code, lowercase).

Example:

"usdt"

amount_sent
number
required

Amount to exchange from the source currency.

Example:

10

order
string
required

Unique order identifier (idempotency key).

Example:

"AAA0008"

Response

Exchange created successfully.