Last updated 1 year ago
Get info about advanced balance by its id
Public API-key
Signing the request body with a private API-key
Request content type
application/json
Request body for getting the advance balance
Successful response
POST /api-gateway/advanced-balance HTTP/1.1 Host: ocp.onchainpay.io Content-Type: application/json Accept: */* Content-Length: 2 {}
{ "success": true, "response": { "advancedBalanceId": "8386e943-3ca4-4317-9a33-bfa9e7a09993", "currency": "USD", "blocked": true, "blockReason": null, "balance": "4711.33", "availableCurrenciesForDeposit": [ "USDT" ], "tariffs": [ { "id": "42cb7d17-4f59-4023-9898-dd684bb12bb6", "action": "EXCHANGE_AUTO", "amount": "0.03", "type": "PERCENT", "minAmount": "0.1", "maxAmount": "3000", "invoiceAdditionalFee": true } ] } }