Get list of advanced balances of user
Last updated 7 months ago
Request success indicator
Response body when requesting a list of advance balances
const response = await fetch('https://ocp.onchainpay.io/api-gateway/advanced-balances', { method: 'POST', headers: { "Content-Type": "application/json" }, }); const data = await response.json();
{ "success": false, "response": [ { "advancedBalanceId": "a7054698-6bad-43d6-bfb4-2db54ce25b7d", "currency": "USD", "blocked": false, "blockReason": null, "balance": "4711.33", "availableCurrenciesForDeposit": [ "USDT" ], "tariffs": [ { "id": "664d5815-5537-42c8-9163-527c5e3764e4", "action": "EXCHANGE_AUTO", "amount": "0.03", "type": "PERCENT", "minAmount": "0.1", "maxAmount": "3000", "invoiceAdditionalFee": false } ] } ] }