Get advanced balance by id
Get info about advanced balance by its id
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/json
Body
objectOptional
Request body for getting the advance balance
Responses
200Success
application/json
post
POST /api-gateway/advanced-balance HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
200Success
{
"success": true,
"response": {
"advancedBalanceId": "19539253-58da-4ab4-965f-3f23f0cd63f3",
"currency": "USD",
"blocked": true,
"blockReason": null,
"balance": "4711.33",
"availableCurrenciesForDeposit": [
"USDT"
],
"tariffs": [
{
"id": "a526981e-d9e5-471f-ac64-d42693f44ba4",
"action": "EXCHANGE_AUTO",
"amount": "0.03",
"type": "PERCENT",
"minAmount": "0.1",
"maxAmount": "3000",
"invoiceAdditionalFee": true
}
]
}
}
Last updated