2.4 Balance Query
http
GET /api/v1/user/exchange/wallets/{external_player_id}/balance?currency={CNY|USD}URL Parameters
| Field | Required | Type | Description |
|---|---|---|---|
| external_player_id | TRUE | string | Path parameter, player ID |
| currency | TRUE | string | Query parameter, must match the currency bound to the agent; see the supported currency list |
TIP
Signing note — GET requests have no body. When signing, KeyA is always "{}", and X-Body-Hash is always:
text
44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a(i.e. sha256("{}"))
Response data
json
{
"code": 0,
"message": "success",
"data": {
"wallet": {
"currency": "CNY",
"balance": "0"
}
}
}