Get info about advanced balance by its id
Last updated 1 year ago
Advance balance identifier
"dcde70b7-e684-434f-9a7c-377d2010e66e"
Request success indicator
const response = await fetch('https://ocp.onchainpay.io/api-gateway/advanced-balance', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "advancedBalanceId": "dcde70b7-e684-434f-9a7c-377d2010e66e" }), }); const data = await response.json();
{ "success": false, "response": { "advancedBalanceId": "dcde70b7-e684-434f-9a7c-377d2010e66e", "currency": "USD", "blocked": false, "blockReason": null, "balance": "4711.33", "availableCurrenciesForDeposit": [ "USDT" ], "tariffs": [ { "id": "f00b3089-7ee4-4abb-a1d2-b1f0575a534b", "action": "EXCHANGE_AUTO", "amount": "0.03", "type": "PERCENT", "minAmount": "0.1", "maxAmount": "3000", "invoiceAdditionalFee": false } ] } }