Commission token formation

The method allows you to get a commission token for cross-chain transfer

Commission token formation

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body

The body of the commission token creation request

currencystringRequired

The coin you want to exchange

Example: USDT
networkFromstringRequired

Outgoing network

Example: ethereum
networkTostringRequired

Network where you want to receive coins

Example: tron
amountstringRequired

Amount to transfer

Example: 200
Responses
200Success
application/json
post
POST /api-gateway/bridge/fee-token HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 78

{
  "currency": "USDT",
  "networkFrom": "ethereum",
  "networkTo": "tron",
  "amount": "200"
}
200Success
{
  "success": true,
  "response": {
    "blockchainFee": "2",
    "blockchainFeeUSD": "2.12",
    "serviceFeeUSD": "0.50",
    "amount": "200",
    "amountUSD": "200",
    "token": "U2FsdGVkX19VvcCWnLRiHnRCJ/vLfvjsxJAV1dWMrbi7jWw0uLEgcELTnb+aKkDj78X1gjlsgQsC92FgpuzDsCH1bBS3/m3mq7Lp8pqSUBKm4VooESYf52+6xYCrCFiEYOYVrp1mtRZHqwdwORvT8HN1Vtcr/SoMoXeYdZ+1wk469t81wcoP/44Xbdd77N84HqSpeDumhTFUPfzFFnfKXvmqxLhiYQzrWFcd7tf6cqE=",
    "expiresAt": "2025-06-09T13:19:29.430Z"
  }
}

Last updated