Skip to main content
POST
Create a crypto swap

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string
required

A unique key for this swap request.

Maximum string length: 255

Body

application/json
from_wallet
string
required

The source crypto or fiat wallet ID.

to_wallet
string
required

The destination crypto or fiat wallet ID.

amount
string
required

The source amount. The minimum is 0.00000001. Send a string with up to 18 decimal places.

Pattern: ^[0-9]+(\.[0-9]{1,18})?$

Response

Crypto swap processed successfully.

message
string
data
object