Sportsbook

Real Time Events You Need To Send

Sportsbook events must be sent at point of placing a bet, cashout or settlement (payout).

POST /v1/integration/sports

Send each Bet and Win event separately.

Example of Single Bet:

{
  "activity_id": "101212",
  "activity_id_reference": "",
  "amount": 100,
  "bet_type": "Single",
  "bets": [
    {
      "event_name": "Queens Park Rangers vs West Bromwich Albion",
      "is_free_bet": false,
      "is_risk_free_bet": false,
      "market": "Correct Score",
      "match_start": "2015-03-02T8:27:58.721607+06:00",
      "outcome": "1-0",
      "sports_name": "Football",
      "tournament_name": "Championship",
      "odds": 6.25,
      "is_live": true
    }
  ],
  "bonus_wager_amount": 0.0,
  "balance_after": 852.21,
  "balance_before": 952.21,
  "currency": "EUR",
  "exchange_rate": 1,
  "is_cashout": false,
  "locked_wager_amount": 0.0,
  "origin": "sub.example.com",
  "timestamp": "2015-03-02T8:27:58.721607+06:00",
  "type": "Bet",
  "user_id": "12304",
  "wager_amount": 0.0
}

Example of Combo Bet:

{
  "activity_id": "101213",
  "activity_id_reference": "",
  "amount": 50,
  "balance_after": 950,
  "balance_before": 1000,
  "bet_type": "Combo",
  "bets": [
    {
      "event_name": "Dortmund vs Tottenham",
      "is_free_bet": false,
      "is_risk_free_bet": false,
      "market": "1X2",
      "match_start": "2015-03-02T8:27:58.721607+06:00",
      "outcome": "1",
      "sports_name": "Football",
      "tournament_name": "Champions League",
      "odds": 1.95,
      "is_live": false
    },
    {
      "event_name": "FC Schalke 04 vs Manchester City",
      "is_free_bet": false,
      "is_risk_free_bet": false,
      "market": "1X2",
      "match_start": "2015-03-02T8:27:58.721607+06:00",
      "outcome": "1",
      "sports_name": "Football",
      "tournament_name": "Champions League",
      "odds": 1.26,
      "is_live": false
    },
    {
      "event_name": "Olympique Lyon vs FC Barcelona",
      "is_free_bet": false,
      "is_risk_free_bet": false,
      "market": "1X2",
      "match_start": "2015-03-02T8:27:58.721607+06:00",
      "outcome": "1",
      "sports_name": "Football",
      "tournament_name": "Champions League",
      "odds": 4.15,
      "is_live": false
    }
  ],
  "bonus_wager_amount": 0,
  "currency": "EUR",
  "exchange_rate": 1,
  "is_cashout": true,
  "locked_wager_amount": 3.13,
  "origin": "sub.example.com",
  "timestamp": "2015-03-02T8:27:58.721607+06:00",
  "type": "Bet",
  "user_id": "12304",
  "wager_amount": 0.0
}

Example of Settlement of Event 101212:

{
  "activity_id": "101420",
  "activity_id_reference": "101212",
  "amount": 625.0,
  "balance_after": 1477.21,
  "balance_before": 852.21,
  "bet_type": "Single",
  "bets": [],
  "bonus_wager_amount": 0.0,
  "currency": "EUR",
  "exchange_rate": 1,
  "is_cashout": true,
  "locked_wager_amount": 0.0,
  "origin": "sub.example.com",
  "timestamp": "2015-03-02T8:27:58.721607+06:00",
  "type": "Settlement",
  "user_id": "12304",
  "wager_amount": 0.0
}

Example of Cashout of Event 101212:

{
  "activity_id": "101422",
  "activity_id_reference": "101212",
  "amount": 262.20,
  "balance_after": 1214.41,
  "balance_before": 952.21,
  "bet_type": "Single",
  "bets": [],
  "bonus_wager_amount": 0.0,
  "currency": "EUR",
  "exchange_rate": 1,
  "is_cashout": true,
  "locked_wager_amount": 0.0,
  "origin": "sub.example.com",
  "timestamp": "2015-03-02T8:27:58.721607+06:00",
  "type": "Settlement",
  "user_id": "12304",
  "wager_amount": 0.0
}

Example of Cashout of Combo Event 101529:

{
  "activity_id": "101529",
  "activity_id_reference": "101213",
  "amount": 26.40,
  "balance_after": 976.4,
  "balance_before": 950,
  "bet_type": "Combo",
  "bets": [],
  "bonus_wager_amount": 0.0,
  "currency": "EUR",
  "exchange_rate": 1,
  "is_cashout": true,
  "locked_wager_amount": 0.0,
  "origin": "sub.example.com",
  "timestamp": "2015-03-02T8:27:58.721607+06:00",
  "type": "Settlement",
  "user_id": "12304",
  "wager_amount": 0.0
}