Skip to Content

Void settle

NameValue
API URL{API_URL}/player/voidBet
MethodPOST
HTTP Response status200

Request body

{ "txns": [ // If win settle { "txn_id": "void-12345-xxx-yyy-zzz", "txn_ref_id": null, "txn_type": "VOID_SETTLE", "user_id": "lnwbet888", "bet_id": "101-0-1234567890-abc", "game_code": "arch-lnw-1234", "pay_in": 0, "pay_out": 100, "game_info": {} }, // If lose settle { "txn_id": "void-12345-xxx-yyy-zzz", "txn_ref_id": null, "txn_type": "VOID_SETTLE", "user_id": "lnwbet888", "bet_id": "101-0-1234567890-abc", "game_code": "arch-lnw-1234", "pay_in": 100, "pay_out": 0, "game_info": {} } ], "checksum": "abc1234" }
FieldTypeRequiredDescription
txns.txn_idStringTransaction ID (Same as “bet_id”)
txns.txn_typeStringTransaction type 7.5 Transaction type
txns.user_idStringUser ID
txns.bet_idStringBet ID
txns.game_codeString or nullGame code 5.2.2 Get games via result.data.code
txns.pay_inNumberAmount pay in (Settle / Reward / etc.)
txns.pay_outNumberAmount pay out (Bet / Open Bet / etc.)
txns.game_infoObjectGame info

Response body (Single player)

{ "code": 0, "data": { "balance": 5000 } }
FieldTypeDescription
result.balanceNumberPlayer credit remaining

Response body (Mutiple player)

{ "code": 0 }
Last updated on