Cash Out
INFO
Transfer the balance of a specific player's cash wallet, withdrawing the full balance each time.
Request Method
| Item | Name | Sample |
|---|---|---|
| Path | Path | {Api_Address}/wallet/cash_out |
| Request Method | POST |
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | View details | |
| user_id | string | Y | User Unique Identifier. (Limit: 50 characters) |
| currency | string | Y | Currency |
| amount | string | N | Withdrawal amount (leave blank for full amount) |
Return Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| code | int | Y | |
| msg | string | Y | Message for debug |
| data | array | Y | Body |
| data.balance | string | Y | Successfully withdrawn amount |
| data.biz_id | string | Y | Transaction receipt |
| data.after_balance | string | Y | Balance after transaction |
Sample
Http Request
Post Method
URL : /wallet/cash_out?mid=1697028447&sign=5a9582d094bc97f1b3a746c89604cf341efb4c9defb4104d070d8eadf013658c&ts=1735279268
{"user_id":"640d9cc9e398629379e5bd22","currency":"MXN"}
Http Response(success)
{
"code": 0,
"msg": "",
"data": {
"balance": "100",
"biz_id":"1234567890",
"after_balance": "500"
}
}