Deposit (Topup)
| Name | Value |
|---|---|
| API URL | {API_URL}/player/wallet/deposit |
| 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 increase |
Response body
{
"code": 0,
"message": "Deposit success.",
"timestamp": 1737802276223,
"result": {
"transaction_id": "61f5f1b0-29e1-4d76-aef4-726efdef6a99",
"before": 0,
"after": 100,
"remaining": 100
}
}| 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