Partner API for getting available currencies, calculating quotes, and creating exchange orders.
/api/legacyJSON over POSTPartner API keys are currently configured manually in api/storage/api_users.json. Later each partner will receive keys in a personal account.
POST /api/legacy
Content-Type: application/json
X-API-Key: YOUR_API_KEYDo not expose partner keys in frontend code. Server-to-server requests should use the X-API-Key header.
currenciesGet public currency list.
rateCalculate exchange quote.
create_orderCreate exchange order.
orderGet order status by ID.
{
"action": "rate",
"fromCcy": "BTC",
"toCcy": "USDTTRC",
"type": "fixed",
"direction": "from",
"amount": "0.01"
}{
"action": "create_order",
"fromCcy": "BTC",
"toCcy": "USDTTRC",
"type": "fixed",
"direction": "from",
"amount": "0.01",
"toAddress": "YOUR_USDTTRC_ADDRESS"
}{
"ok": true,
"data": {
"id": "L1234567890",
"status": "NEW"
}
}