Bet

post

Request from the Supplier to The Bet Brothers Platform to process a bet by deducting an amount from 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 to bet, in subunits (ISO 4217).

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.

Responses
200
Successfully processed bet
application/json
post
POST /wallet/bet HTTP/1.1
Host: 
X-REQUEST-SIGN: text
Content-Type: application/json
Accept: */*
Content-Length: 240

{
  "provider_name": "test",
  "provider_id": 19,
  "token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8",
  "transaction_id": "299121981517131",
  "amount": 1000,
  "currency_code": "SEK",
  "game_symbol": "book_of",
  "is_mobile": true,
  "player_id": "6",
  "round_id": "6122334451"
}
{
  "transaction_id": "563214566",
  "balance": 54636,
  "token": "7848fc39-a0c3-4d56-98c2-a216f14b3fd8"
}

Last updated