Get advanced balances of user

Get list of advanced balances of user

Get advanced balances of user

POSThttps://app.apollopayment.io/api-gateway/advanced-balances
Header parameters
Body
any
Response
Body
success*boolean

Request success indicator

response*AccountsResponse (array of AccountResponse (object))

Response body when requesting a list of advance balances

Request
const response = await fetch('https://app.apollopayment.io/api-gateway/advanced-balances', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
});
const data = await response.json();
Response
{
  "success": false,
  "response": [
    {
      "advancedBalanceId": "97ed074e-f6ce-441f-a1eb-1e3211e15f3f",
      "currency": "USD",
      "blocked": false,
      "blockReason": null,
      "balance": "4711.33",
      "availableCurrenciesForDeposit": [
        "USDT"
      ],
      "tariffs": [
        {
          "id": "240d7bae-9603-4b82-8d5b-df3a72260ff5",
          "action": "EXCHANGE_AUTO",
          "amount": "0.03",
          "type": "PERCENT",
          "minAmount": "0.1",
          "maxAmount": "3000",
          "invoiceAdditionalFee": false
        }
      ]
    }
  ]
}

Last updated