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/jsonormultipart/form-data - Authorization: Bearer Token (Must provide a valid token in the
Authorization: Bearer <token>header)
Headers
| Name | Required | Type | Description |
|---|---|---|---|
| Authorization | Yes | String | Bearer Token, obtained via the Member Login endpoint |
Request Parameters (Body)
| Name | Required | Type | Description |
|---|---|---|---|
| bankWallet | Yes | String | Bank Code or Wallet Type, e.g., ICBC, USDT-TRC20 |
| accno | Yes | String | Bank Account Number or Wallet Address |
| bankName | Yes | String | Cardholder 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"
}