Action 13: Withdraw
Function Description
- JDB will call the API when a player wants to make a deposit to JDB.
- Without any correct response, JDB will call Cancel Withdraw (Action 15) after 1 minute.
- Fish shooting game uses action 8, 4 in default, contact JDB service switch to action 13, 14, 15 if needed.

Request Parameter
Parameter | Format | Description |
---|---|---|
action | Integer | 13 |
ts | Long | Current system time |
transferId | Long | Transfer ID |
uid | String(50) | Player ID |
currency | String(10) | Please refer to: Currency Code |
amount | Double | Withdraw amount, always be positive |
gType | Integer | Game types See Game Provider |
mType | Integer | Machine Type |
systemSessionId | String(150) | System Session ID, will be different in each login when using action 21 get game launch url. Game Type supports range: FISH(7) This is not included by default, contact JDB service if needed. |
More data fields are vary by gType, listed in the following table:
Request Example
{
"action": 13,
"ts": 1664358643847,
"transferId": 251916,
"uid": "testpl",
"currency": "RM",
"amount": 5000.0,
"gType": 0,
"mType": 8001
}
Response Parameter
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: 6006 - Player balance is insufficient It would be considered as failure if the status is not 0000, and you can describe in err_text. |
err_text | String(255) | Error message |
Response Example
{
"status": "0000",
"err_text": ""
}