Get list of advanced balances of user
Last updated 5 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": "3e8eed11-69a6-40d2-8b1f-d5d1b3f1fd72", "currency": "USD", "blocked": false, "balance": "4711.33", "availableCurrenciesForDeposit": [ "USDT" ], "tariffs": [ { "id": "242b82c0-cd0c-4e7a-b50c-5fb3f4f3588f", "action": "EXCHANGE_AUTO", "amount": "0.03", "type": "PERCENT", "minAmount": "0.1", "maxAmount": "3000", "invoiceAdditionalFee": false } ] } ] }