Skip to Content

Adjust Credit

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

Request body

{ "txns": [ { "txn_id": "101-0-1234567890-abc", "txn_type": "ADJUST_CREDIT", "user_id": "lnwbet888", "bet_id": null, "game_code": "arch-lnw-1234", "pay_in": 50, "pay_out": 20, "game_info": {} } ], "checksum": "abc1234" }
FieldTypeRequiredDescription
txns.txn_idStringTransaction ID
txns.txn_typeStringTransaction type 7.5 Transaction type
txns.user_idStringUser ID
txns.bet_idString or nullBet 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