Balance
To check your account balance, send a POST request to the following URL:
Check balance
POST https://api.cryptocloud.plus/v2/merchant/wallet/balance/all
When you send a request, you get an array of balances by currency in response.
{
"detail": "Invalid header padding"
}
or
{
"detail": "Signature verification failed"
}
{
"status": "success",
"result": [
{
"currency": {
"id": 4,
"code": "USDT_TRC20",
"short_code": "USDT",
"name": "Tether",
"is_email_required": false,
"stablecoin": true,
"icon_base": "https://cdn.cryptocloud.plus/currency/icons/main/usdt.svg",
"icon_network": "https://cdn.cryptocloud.plus/icons-currency/USDT-TRC20.svg",
"icon_qr": "https://cdn.cryptocloud.plus/currency/icons/stroke/usdt.svg",
"order": 1,
"obj_network": {
"code": "TRC20",
"id": 4,
"icon": "https://cdn.cryptocloud.plus/currency/crypto/TRX.svg",
"fullname": "Tron"
},
"enable": true
},
"balance_crypto": 0.0,
"balance_usd":0.0
"available_balance": 0.0,
"available_balance_usd": 0.0
},
{...},
{...},
...
]
}Response parameters description
A successful request receives a response with status success and object result.
currency — an object of the currency the balance applies to.
balance_crypto — balance in cryptocurrency.
balance_usd — balance in USD, at the exchange rate at the moment of request formation.
available_balance — available for withdrawal balance in cryptocurrency.
available_balance_usd — available for withdrawal balance in USD.
Request examples
These examples show how you can submit a request to get your account balance. Note that you need to provide your API key in the Authorization header to successfully authorize the request.
Last updated
Was this helpful?