Balances
Get a list of wallets with balances.
Request
POST /v2/balances
POST /v2/balances HTTP/1.1
Content-Type: application/json
Accept: application/json; charset=utf-8
Api-key: {publicApiKey}
Signature: {signature}
{}
warning
You need to use an empty object {}
in the request and create a digital signature for it.
Response
The response object will contain a set of objects structured as follows:
RESPONSE
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": "success",
"data": {
"btc": {
/* Currency code, in lowercase */
"currency": "btc",
/* Wallet ID */
"wallet_uuid": "1905f1ec-a5f9-4960-a230-d5a0af42d09e",
/* Available amount */
"amount": "0.46879587",
/* Amount of debt */
"overdraft": "0",
/* Date and time of update in the format "Y-m-d H:i:s" */
"updated_at": "1970-01-01 12:40:11",
/* Currency precision */
"currency_precision": 8
},
"usdt": {
"currency": "usdt",
"wallet_uuid": "fc630e08-c4bc-4a6f-ab1b-0c668a093426",
"amount": "38021.77",
"overdraft": "50",
"updated_at": "1970-01-01 12:40:11",
"currency_precision": 2
}
}
}
Description of parameters in the response:
currency
– Currency code, in lowercasewallet_uuid
- Wallet IDamount
- Available amountoverdraft
- Amount of debtupdated_at
- Date and time of update in the format "Y-m-d H:i:s"currency_precision
- Currency precision