Get balance
get https://api.cryptomus.com/v2/user-api/balance Copy
Request
Request example
curl https://api.cryptomus.com/v2/user-api/balance \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json'
CopyResponse
Response parameters
| Name | Parameter type | Definition |
|---|---|---|
| walletUuid | string | Wallet UUID |
| currency_code | string | Wallet currency |
| balance | string | Wallet balance |
| balanceUsd | string|null | Wallet balance in USD |
Parameter type
stringDefinition
Wallet UUIDParameter type
stringDefinition
Wallet currencyParameter type
stringDefinition
Wallet balanceParameter type
string|nullDefinition
Wallet balance in USD
Response example
1{
2 "state": 0,
3 "result": {
4 "balances": [
5 {
6 "walletUuid": "4ba23a47-a182-4d87-8c68-247c974be566",
7 "currency_code": "BCH",
8 "balance": "0.00000000",
9 "balanceUsd": "0.00"
10 },
11 ...
12 {
13 "walletUuid": "539f051f-7ceb-4ac4-831e-21ebdba0a5d0",
14 "currency_code": "XMR",
15 "balance": "0.00000000",
16 "balanceUsd": "0.00"
17 }
18 ]
19 }
20}Copy