Withdraw (Payout)
| Name | Value |
|---|---|
| API URL | {API_URL}/player/wallet/withdraw |
| Method | POST |
| HTTP Response status | 201 |
Request body
{
"username": "lnwbet888",
"credit": 100
}| Field | Type | Required | Description |
|---|---|---|---|
| username | String | ✅ | Username must be minimun 3 character and not over than 20 character |
| credit | String | ✅ | Amount credit decrease |
Response body
{
"code": 0,
"message": "Withdraw success.",
"timestamp": 1737802276223,
"result": {
"transaction_id": "54467560-4441-4562-b3d5-6f6687bfd900",
"before": 100,
"after": 50,
"remaining": 50
}
}| Field | Type | Description |
|---|---|---|
| result.transaction_id | String | Transaction ID generated by system |
| result.before | Number | Credit before adjust |
| result.after | Number | Credit after adjust |
| result.remaining | Number | Credit acual remaining |
Last updated on