Skip to Content

Unsettle (Rollback)

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

Request body

{ "txns": [ { "txn_id": "settle-12345-xxx-yyy-zzz", "txn_ref_id": null, "txn_type": "RESETTLE", "user_id": "lnwbet888", "bet_id": "101-0-1234567890-abc", "game_code": "arch-lnw-1234", "pay_in": 0, "pay_out": 50, "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