Win
Last updated
Last updated
Request from the Supplier to The Bet Brothers Platform to register a win and update the playerโs balance.
HMAC-SHA256 signature of the request body using the shared password.
Session token - must be present in every callback.
Provided by The Bet Brothers.
Provided by The Bet Brothers.
Amount won, in subunits (ISO 4217). Use 0 for a lost result.
Currency code in upper case (ISO 4217).
True if the player is on a mobile device.
Unique identifier of the player on the Operator side.
Game Provider round ID.
Game symbol.
Unique transaction ID from the Game Provider.
Whether the round is closed.
Successfully processed win
Forbidden - Invalid or missing token.
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"
}