/
v3.0.11Get access

createBets

The command is designed for placing one or more bets. It enables users to submit everything from simple single selections to complex multi-selection bets of various types within a single request.

Request parameters:

Name
DescriptionTypeValuesDefault
bets
An array of bet objectsarray--
└─
object-
└─ acceptTypeId
Type of acceptance for the bet.string"alwaysAsk", "counterOffer", "acceptAnyAmount", "acceptHigherAmount"-
└─ amount
The stake amount for the betnumber--
└─ events
List of events included in the betarray--
└─
object-
└─ selectionId
The id of the selected eventnumber--
└─ coeficient
The coefficient/odds for the selectionnumber--
└─ betBuilderMatchId
If the event is a part of the bet builder selection, BetBuilderMatchId must be the gameId of the eventnumber--
└─ oddType
The type of oddsstring"decimal", "fractional", "american", "hongKong", "malay", "indo"-
└─ type
The bet typestring"none", "chain", "heinz", "single", "trixie", "system", "yankee", "patient", "goliath", "multiple", "lucky_31", "lucky_15", "lucky_63", "betBuilder", "superHeinz", "superYankee", "betBuilder"-
└─ oldBetId
The bet Id which is being editednumber--
└─ eachWay
The value of Each Waybooleantrue / false-
└─ betBookId
The value should be -1 if the bet is done via hoorynumber--
└─ bookingId
The booking id of the betnumber--
└─ systemMinCount
System bet selections countnumber--
└─ additionalAmount
The amount in case of an edit betnumber--
└─ predefinedMultipleId
The id of express of the day eventsstring--
└─ bonusType
Profit boost bonus typenumber--
└─ isSuperBet
Must be true if the bet is a super betbooleantrue / false-
└─ isBonusMoney
true if the bet is done using the bonus balancebooleantrue / false-
└─ isFreeBetMoney
true if the bet is dome using free betbooleantrue / false-
└─ clientBonusId
The id of the free betnumber--
└─ geoLocationToken
If the 'GeoComply' service is enabled, GeoLocationToken should be sent with the requeststring--
└─ tags
numeric source identifier for a bet, used to attribute bets to the surface they came from (106 = Betting Mate widget).number--

Call example:

createBets({
  command: 'create_bets',
  params: {
    bets: [{
      Tags: 106,
      Type: 2,
      Amount: 0.1,
      Events: [{
        SelectionId: 6381739781,
        Coeficient: 1.89
      }, {
        SelectionId: 6269505061,
        Coeficient: 1.44
      }],
      AcceptTypeId: 0,
      OddType: 0
    }]
  },
  rid: 1361081110
})

Response examples:

{
  code: 0,
  rid: 1361081110,
  data: {
    StatusCode: '0',
    Data: [{
      bet_id: 6020306694,
      k: 2.722,
      amount: 0.1,
      type: 2,
      is_superbet: false,
      FreeBetAmount: 0,
      bonus_amount: 0,
      IsLive: false,
      lucky_multiplier: 2,
      is_wageringbonus_money: false,
      is_bonus_money: false,
      created_date: 1770122924,
      events: [{
        sport_name: 'Football',
        selection_id: 6381739781,
        game_id: 28867087,
        k: 1.89,
        c_arjel_code: '[6QV, ZZZ, ZZZZ, ME4GJ, H]',
        m_arjel_code: '1N2MA',
        competition: 'Coupe de France',
        home_team: 'Stade Reims',
        away_team: 'Le Mans',
        start_date: 1770147000,
        market_name: 'Match Result',
        event_name: 'W1',
        IsLive: false
      }, {
        sport_name: 'Football',
        selection_id: 6269505061,
        game_id: 28697592,
        k: 1.44,
        c_arjel_code: '[6QV, ZZZ, ZZZZ, PAKPB-DEU, H]',
        m_arjel_code: '1N2MA',
        competition: 'DFB Pokal',
        home_team: 'Bayer 04 Leverkusen',
        away_team: 'St. Pauli',
        start_date: 1770147900,
        market_name: 'Match Result',
        event_name: 'W1',
        IsLive: false
      }]
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
bet_id
The id of the betnumber-
k
The odd/coefficient of the betnumber-
amount
The amount of the betnumber-
type
The type of the betnumber-
is_superbet
true if the bet is a super betbooleantrue / false
FreeBetAmount
The amount of the free betnumber0
bonus_amount
The amount of the bonusnumber0
IsLive
true if the bet contains events from live matchesbooleantrue / false
is_wageringbonus_money
true if the bet is done using a wagering bonusbooleantrue / false
is_bonus_money
true if the bet is done using bonus moneybooleantrue / false
created_date
The creation date of the betnumber-
events
The events of the betarray-
└─
object
└─ sport_name
The alias of the sportstring-
└─ selection_id
The id of the eventnumber-
└─ game_id
The id of the gamenumber-
└─ k
The odd/coefficient of the eventnumber-
└─ competition
The name of the competitionstring-
└─ home_team
The name of the home teamstring-
└─ away_team
The name of the away teamstring-
└─ start_date
The start date of the gamenumber-
└─ market_name
The name of the marketstring-
└─ event_name
The name of the eventstring-
└─ IsLive
true if the event is livebooleantrue / false
└─ c_arjel_code
The code for the licensestring-
└─ m_arjel_code
The code for the licensestring-
lucky_multiplier
provides boost for live bets(2x, 2.5x, ...)number-