v1.0.0 (2026-09-03 16:35)
Get Balance & Assets
Retrieves the current member's main wallet balances for all currencies, with the activity wallet balance and total pending red envelopes (angpaos) merged into the same currency object.
API Details
- Path:
/client/member/getBalance - Method:
GET - Description: Requires
Authorization: Bearer <token>in Headers.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | No | If provided (e.g. VND), returns only the wallet data for this specific currency. If omitted, returns all currencies. |
(The system automatically identifies the member from the Token)
Response Example
json
{
"code": 0,
"data": [
{
"currency": "USD",
"balance": 1500.5,
"activity_balance": 50.0,
"unclaimed_angpao_total": 10.0,
"vip_level": 2,
"lifetime_deposit": 5000,
"current_month_deposit": 2000
},
{
"currency": "VND",
"balance": 2300000,
"activity_balance": 0,
"unclaimed_angpao_total": 0,
"vip_level": 2,
"lifetime_deposit": 10000000,
"current_month_deposit": 5000000
}
],
"msg": "Success"
}Response Parameters
| Field | Type | Description |
|---|---|---|
| code | number | Status code, 0 is success |
| data | array | List of wallets |
| data[].currency | string | Currency code |
| data[].balance | number | Main wallet balance |
| data[].activity_balance | number | Active activity wallet balance |
| data[].unclaimed_angpao_total | number | Total pending angpaos |
| data[].vip_level | number | VIP level |
| data[].lifetime_deposit | number | Lifetime deposit amount |
| data[].current_month_deposit | number | Current month deposit amount |
| msg | string | Response message |