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

advancedBalanceIdstringrequired

Identifier of the advance balance that will act as the payer of commissions'

Example: f9565f73-eb15-4246-9954-169eeb9475fc
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
application/json
objectoptional

Successful response

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

{
  "advancedBalanceId": "f9565f73-eb15-4246-9954-169eeb9475fc",
  "currency": "USDT",
  "networkFrom": "ethereum",
  "networkTo": "tron",
  "amount": "200"
}
200Success
{
  "success": true,
  "response": {
    "advancedBalanceId": "f9565f73-eb15-4246-9954-169eeb9475fc",
    "blockchainFee": "2",
    "blockchainFeeUSD": "2.12",
    "serviceFeeUSD": "0.50",
    "amount": "200",
    "amountUSD": "200",
    "token": "U2FsdGVkX1+h3VDooU83C1qKiVksIb9jt0v5bjuvTTNBhqUakxiOLug+ziv1eOyLSOzU48C53N3pWmK1yeO8UBOh2Cex4LgLYl99Cv86ldC21mmaoNjpKv+HfQ7LaCxWIHdNuHgvhkX7+srodpKK+kJ/ZAB4IGKykEReI/b8lMVbUawNMWr3JQMQTAiMYWJxcBqqHAUdYiKdKvcIi874LbuqKgshep5y+67786P9Oz8=",
    "expiresAt": "2024-12-26T08:22:53.360Z"
  }
}

Last updated