Skip to Content

Resettle

NameValue
API URL{API_URL}/player/resettle
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_idString✅Transaction ID (Same as “bet_id”)
txns.txn_typeString✅Transaction type 7.5 Transaction type
txns.user_idString✅User ID
txns.bet_idString✅Bet ID
txns.game_codeString or null❌Game code 5.2.2 Get games via result.data.code
txns.pay_inNumber✅Amount pay in (Settle / Reward / etc.)
txns.pay_outNumber✅Amount pay out (Bet / Open Bet / etc.)
txns.game_infoObject✅Game info

Response body (Single player)

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

Response body (Mutiple player)

{ "code": 0 }
Last updated on