Seamless
Seamless Wallet API
Functions
Action 15: Cancel Withdraw

Action 15: Cancel Withdraw

Function Description

  • This action is called by JDB after 1 minute when the Withdraw (Action 13) request failed.
  • If the request is received and has already been successfully processed, please return 0000.
  • If call the API failed, JDB will retry every minutes for 12 hours until status 0000.
seamless wallet cancel withdraw flow chart

Request Parameter

ParameterFormatDescription
actionInteger15
tsLongCurrent system time
transferIdLongTransfer ID
uidString(50)Player ID
currencyString(10)Please refer to: Currency Code
amountDoubleAmount that should be transferred to player balance.
It will always be positive.
refTransferIdLongWhich withdraw would be canceled, and also can be referred to Action 13's transferId
gTypeIntegerGame types
See Game Provider
mTypeIntegerMachine Type
systemSessionIdString(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": 15,
    "ts": 1664522589182,
    "transferId": 251919,
    "uid": "testpl",
    "currency": "RM",
    "amount": 5000.0,
    "refTransferId": 251916,
    "gType": 0,
    "mType": 8001
}

Response Parameter

ParameterFormatDescription
statusString(4)Success: 0000
It would be considered as failure if the status is not 0000, and trigger resend mechanism.
err_textString(255)Error message

Response Example

{
  "status": "0000",
  "err_text": ""
}