/v4/wallet/withdraw-all
Withdraw All User Balance
POST /v4/wallet/withdraw-all
It Withdraw the user's total balance. The total money withdrew from the user is added to the agent's points.
Headers
| Name | Value |
|---|---|
| Authorization | Bearer <API_TOKEN> |
| Content-Type | application/json |
| Accept | application/json |
Body
{
"user_code": 3
}| Name | Type | Description |
|---|---|---|
user_code | integer(64bit) | User's code(unique ID) |
Response
{
"code": 0,
"message": "OK",
"data": {
"balance": 26500,
"amount": 0
}
}| Key | Type | Description |
|---|---|---|
code |
integer(32bit) | Response Code |
message |
string | Response Message |
balance |
double | Point After Processing |
amount |
double | Processing Amount |