Getting information about cross-chain exchange
Last updated
Last updated
The method allows you to get information on a previously created cross-chain exchange
Public API-key
Signing the request body with a private API-key
Request content type
application/json
Request body for getting exchange data
Swap ID
1118a717-9143-47ee-be30-d69148f380db
POST /api-gateway/swaps/get HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"id": "1118a717-9143-47ee-be30-d69148f380db"
}
{
"success": true,
"response": {
"id": "1118a717-9143-47ee-be30-d69148f380db",
"clientId": "merchant_unique_id",
"addressFromId": "c4179377-b199-455b-ab08-16c517bb3f1b",
"addressToId": "fd7b36c8-ff3f-4bdb-85d5-0e91e938bf7f",
"currencyFrom": "USDT",
"currencyTo": "USDC",
"networkFrom": "ethereum",
"networkTo": "tron",
"status": "PENDING",
"rejectMessage": "null",
"amountFrom": "200",
"amountTo": "200",
"price": "1",
"serviceBlockchainFeeSource": "ADVANCE",
"serviceBlockchainFee": "2",
"serviceBlockchainFeeUSD": "2",
"providerBlockchainFeeSource": "AMOUNT",
"providerBlockchainFee": "2",
"providerBlockchainFeeUSD": "2",
"serviceFeeSource": "ADVANCE",
"serviceFee": "2",
"serviceFeeUSD": "2",
"webhookUrl": "https://merchant.domain/webhooks/swap",
"createdAt": "2025-06-09T13:18:29.432Z"
}
}