Credit/debit a player's account for various reasons.
Request
Body Params application/json
{
"txId": "string",
"tileId": "string",
"tableId": "string",
"live": true,
"gameType": "BACCARAT",
"gameId": "string",
"gameCode": "string",
"minBet": 0,
"maxBet": 0,
"totalReversalAmount": 0,
"transactions": [
{
"reversalTxId": "string",
"reversalTxType": "BET",
"reversalReason": "string",
"reversalAmount": 0
}
]
}
Request samples
curl --location --request POST '/reverse' \
--header 'Content-Type: application/json' \
--data-raw '{
"txId": "string",
"tileId": "string",
"tableId": "string",
"live": true,
"gameType": "BACCARAT",
"gameId": "string",
"gameCode": "string",
"minBet": 0,
"maxBet": 0,
"totalReversalAmount": 0,
"transactions": [
{
"reversalTxId": "string",
"reversalTxType": "BET",
"reversalReason": "string",
"reversalAmount": 0
}
]
}'
Responses
application/json {
"txId": "string",
"balance": 0
}
Modified at 2024-07-25 08:05:01