Skip to content
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 ​

ParameterTypeRequiredDescription
currencystringNoIf 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 ​

FieldTypeDescription
codenumberStatus code, 0 is success
dataarrayList of wallets
data[].currencystringCurrency code
data[].balancenumberMain wallet balance
data[].activity_balancenumberActive activity wallet balance
data[].unclaimed_angpao_totalnumberTotal pending angpaos
data[].vip_levelnumberVIP level
data[].lifetime_depositnumberLifetime deposit amount
data[].current_month_depositnumberCurrent month deposit amount
msgstringResponse message