ਬੈਲੇਂਸ ਪ੍ਰਾਪਤ ਕਰੋ
get https://api.cryptomus.com/v2/user-api/balance ਕਾਪੀ ਕਰੋ
ਬੇਨਤੀ
ਬੇਨਤੀ ਉਦਾਹਰਣ
curl https://api.cryptomus.com/v2/user-api/balance \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json'
ਕਾਪੀ ਕਰੋਜਵਾਬ
ਜਵਾਬ ਮਾਪਦੰਡ
| ਨਾਮ | ਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ | ਪਰਿਭਾਸ਼ਾ |
|---|---|---|
| walletUuid | string | ਵਾਲਿਟ UUID |
| currency_code | string | ਵਾਲਿਟ ਮੁਦਰਾ |
| balance | string | ਵਾਲਿਟ ਬਲੈਂਸ |
| balanceUsd | string|null | ਵਾਲਿਟ ਬਲੈਂਸ USD ਵਿੱਚ |
ਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ
stringਪਰਿਭਾਸ਼ਾ
ਵਾਲਿਟ UUIDਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ
stringਪਰਿਭਾਸ਼ਾ
ਵਾਲਿਟ ਮੁਦਰਾਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ
stringਪਰਿਭਾਸ਼ਾ
ਵਾਲਿਟ ਬਲੈਂਸਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ
string|nullਪਰਿਭਾਸ਼ਾ
ਵਾਲਿਟ ਬਲੈਂਸ USD ਵਿੱਚ
ਜਵਾਬ ਉਦਾਹਰਣ
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}ਕਾਪੀ ਕਰੋ