Swap
Create Instant Swap
API reference for creating instant currency swaps
POST
Creates an instant currency swap between supported assets. Supports both customer and merchant-initiated swaps.
Key Features:
- Instant conversion between supported currencies
- Returns quoted price and conversion amounts
- Supports both customer and merchant swaps
- Provides expiration time for quoted rate
- Detailed user information in response
Request Body:
Customer Swap:
Merchant Swap:
Headers
Body
application/json
Response
200
application/json
Swap created successfully
The response is of type object
.