Receiving withdrawal information

The method allows you to get information about the output

Receiving withdrawal information

POSThttps://app.apollopayment.io/api-gateway/get-withdrawal
Header parameters
Body
withdrawalId*string

Withdrawal ID in the system

Example: "24955059-eee8-482d-9ffa-9ddc1a317291"
Response
Body
success*boolean

Request success indicator

response*GetWithdrawResponse (object)

The body of the response to the request for obtaining information about the withdrawal

Request
const response = await fetch('https://app.apollopayment.io/api-gateway/get-withdrawal', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "withdrawalId": "24955059-eee8-482d-9ffa-9ddc1a317291"
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "response": {
    "id": "24955059-eee8-482d-9ffa-9ddc1a317291",
    "advancedBalanceId": "97ed074e-f6ce-441f-a1eb-1e3211e15f3f",
    "addressId": "d479f3e4-8671-4028-9dee-0f0cdaea463d",
    "currency": "USDT",
    "network": "ethereum",
    "tx": "0xb502e6ba8745a99f3484d75c027c55cacc26d6342b3a129f97d802899435ef12",
    "status": "pending",
    "address": "0x00000005707bf50efa35a2db020ede9ac08ae226",
    "tag": null,
    "amount": "123.12",
    "feeCurrency": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
    "feeSource": "advanced_balance",
    "feeAmount": "1.12",
    "createdAt": "2024-10-15T16:11:27.595Z"
  }
}

Last updated