v1

latestOpenAPI 3.1.0Proprietary2026-07-2464170247.4 KB
Conversions

Create Quote

Create a quote for converting between assets in a specific customer

post/v1/customers/{customer_id}/conversions/quote

Path parameters

customer_idstring required

Customer ID

Request body

Example request

{
  "from_asset": {
    "amount": "1024.00",
    "asset": "USDC"
  },
  "to_asset": {
    "amount": "1024.00",
    "asset": "USDC"
  }
}

Response

quote_idstring required

Quote ID

user_pay_amountstring required

User pay amount

user_pay_assetstring required

User pay asset

user_obtain_amountstring required

User obtain amount

user_obtain_assetstring required

User obtain asset

ratestring required

Rate

expire_timeinteger required

Expire time

valid_until_timestampstring required

Example response

{
  "quote_id": "1f581bfe-25de-42aa-9429-6802412850b3",
  "user_pay_amount": "100.00",
  "user_pay_asset": "USDT",
  "user_obtain_amount": "100.00",
  "user_obtain_asset": "USDT",
  "rate": "1.1",
  "valid_until_timestamp": "2025-08-21T07:56:57.981Z"
}