API Name Settlement
Notes
  • The settlement will not try to retry; errors are logged and retried separately.
  • The settlement process is asynchronous.
  • All settlements are reported to the Main Wallet for tracking.
  • Game number in place bet request is used for reporting.
  • FreeGame identifies free game rounds.
  • GameRoundEnd marks the last game section.
  • Warning:
    • Retries use the same transaction ID; verification is crucial.
    • Response JSON should always follow the Success Response format.
  • Tournament payouts are treated as settlement requests with gameId = 0.
Path <WalletUrl>/account/settlement
Method POST
Return Format JSON
Header Content-Type: application/json
Request Example
{
  "amount": 0.00000000000000000000000,
  "gameid": 2359297,
  "roundid": "-9223372036854760793",
  "currency": "PHP",
  "transactionid": "RTGS_-9223372036854741694",
  "membercode": "wave001",
  "token": "D0DBF9C8-15C8-45E2-8170-C88F68250752s@Lt",
  "gamenum": 77,
  "freegame": 0,
  "gameroundend": 1,
  "jackpotamount": 0.00000000000000000000000,
  "sessionid": 677,
  "platformid": 3,
  "bonusamount": 0.00000000000000000000000,
  "maxbonusconversion": 0.00000000000000000000000,
  "isbonusroundend": 0,
  "bonusconverted": 0.00000000000000000000000,
  "jackpotcontribution": 0.00000000000000000000000,
  "bonusjackpotcontribution": 0.00000000000000000000000,
  "bonusroundid": "",
  "bonusFreeSpinRemaining": 0,
  "bonusCode": "",
  "transactiondate": "2025-03-18T18:46:31.437+08:00",
  "utctransactiondate": "2025-03-18T10:46:31.437+00:00"
}
Success Response Example { "code": 0, "message": "success", "balance": 9999.99, "bonusbalance": 999.99 }
Error Codes
  • 0: No error
  • 53: Player does not exist
  • 100: Required field missing
  • 104: Invalid amount format
  • 105: Transaction ID too long
  • 404: Insufficient balance
  • 405: Duplicate transaction ID
  • -1: Internal server error