Skip to content

Update Bank Detail

This interface allows logged-in members to bind or update their personal bank account or e-wallet information. The backend will verify if the provided Bank Code (bankWallet) is valid and enabled within the current system configuration.

Endpoint Details

  • URL: /client/member/update-bank-detail
  • Method: POST
  • Content-Type: application/json or multipart/form-data
  • Authorization: Bearer Token (Must provide a valid token in the Authorization: Bearer <token> header)

Headers

NameRequiredTypeDescription
AuthorizationYesStringBearer Token, obtained via the Member Login endpoint

Request Parameters (Body)

NameRequiredTypeDescription
bankWalletYesStringBank Code or Wallet Type, e.g., ICBC, USDT-TRC20
accnoYesStringBank Account Number or Wallet Address
bankNameYesStringCardholder Name or Account Alias

Request Example (JSON)

json
{
    "bankWallet": "ICBC",
    "accno": "6222021234567890123",
    "bankName": "John Doe"
}

Response Examples

Success Response

json
{
    "code": 0,
    "data": null,
    "msg": "success"
}

Failure Response (Invalid or Disabled Bank Code)

json
{
    "code": 7,
    "data": null,
    "msg": "invalid bank code or disabled"
}

Failure Response (Invalid Token)

json
{
    "code": 7,
    "data": null,
    "msg": "verify_failed: unauthorized"
}