Win
post
Request from the Supplier to The Bet Brothers Platform to register a win and update the player’s balance.
Header parameters
X-REQUEST-SIGNstringRequired
HMAC-SHA256 signature of the request body using the shared password.
Body
tokenstringRequired
Session token - must be present in every callback.
provider_namestringRequired
Provided by The Bet Brothers.
provider_idintegerRequired
Provided by The Bet Brothers.
amountintegerRequired
Amount won, in subunits (ISO 4217). Use 0 for a lost result.
currency_codestringRequired
Currency code in upper case (ISO 4217).
is_mobilebooleanRequired
True if the player is on a mobile device.
player_idstringRequired
Unique identifier of the player on the Operator side.
round_idstringRequired
Game Provider round ID.
game_symbolstringRequired
Game symbol.
transaction_idstringRequired
Unique transaction ID from the Game Provider.
round_closebooleanRequired
Whether the round is closed.
Responses
200
Successfully processed win
application/json
403
Forbidden - Invalid or missing token.
application/json
post
POST /wallet/win HTTP/1.1
Host:
X-REQUEST-SIGN: text
Content-Type: application/json
Accept: */*
Content-Length: 382
{
"provider_name": "test",
"provider_id": 19,
"token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8",
"transaction_id": "2991129817",
"amount": 100,
"currency_code": "SEK",
"game_symbol": "book_of",
"is_mobile": true,
"player_id": "12345",
"round_id": "612233445",
"round_close": true,
"tournament": {
"id": "12345",
"score": "12345",
"place": "12345"
},
"jackpot": {
"id": "12345",
"contribution": "12345",
"details": "12345"
}
}
{
"transaction_id": "563214566",
"balance": 54636,
"token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8"
}
Last updated