Commission token formation
Last updated
Last updated
The method allows you to get a commission token for cross-chain exchange
Public API-key
Signing the request body with a private API-key
Request content type
application/json
Outgoing coin
USDT
Expected coin
USDC
Outgoing network
ethereum
Expected Network
tron
Exchange amount
200
POST /api-gateway/swaps/fee-token HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"currencyFrom": "USDT",
"currencyTo": "USDC",
"networkFrom": "ethereum",
"networkTo": "tron",
"amount": "200"
}
{
"success": true,
"response": {
"amountFrom": "200",
"amountTo": "200",
"serviceBlockchainFeeSource": "ADVANCE",
"serviceBlockchainFee": "2",
"serviceBlockchainFeeUSD": "2",
"providerBlockchainFeeSource": "AMOUNT",
"providerBlockchainFee": "2",
"providerBlockchainFeeUSD": "2",
"serviceFeeSource": "ADVANCE",
"serviceFee": "2",
"serviceFeeUSD": "2",
"price": "1",
"token": "U2FsdGVkX18gNxdwlBIJd5VipZO5oHRKfaGyRUVg7/FmIVhvyfuzPHXkpy3SiEGyf5pvsynU3jhAqyEU2ZozbempdZgdlQHzadKVRSzMRRs8TvcXyDg8XLqmppekgxz+cn0H2/UzR62zveNm0vMn4gNvOnLm6xt0OvujZz57yg8Hl7oOYHHvzQ4Z9jDJmVdkScdnXk1WBD5NRNniCcynHA==",
"expiresAt": "2025-06-09T13:19:29.432Z"
}
}