Skip to main content

PlaceBetRequest

Request to place a bet.

Properties

NameTypeRequiredDescription
odds_formatOddsFormatBet odds format. AMERICAN = American odds format, DECIMAL = Decimal (European) odds format, HONGKONG = Hong Kong odds format, INDONESIAN = Indonesian odds format, MALAY = Malaysian odds format
unique_request_idstrThis is a Unique ID for PlaceBet requests. This is to support idempotent requests.
accept_better_lineboolWhether or not to accept a bet when there is a line change in favor of the client.
stakefloatamount in client’s currency.
win_risk_stakePlaceBetRequestWinRiskStakeWhether the stake amount is risk or win amount.
line_idintLine identification.
alt_line_idintAlternate line identification.
fill_typeFillTypeNORMAL - bet will be placed on specified stake. FILLANDKILL - If the stake is over the max limit, bet will be placed on max limit, otherwise it will be placed on specified stake. FILLMAXLIMIT - bet will be places on max limit, stake amount will be ignored. Please note that maximum limits can change at any moment, which may result in risking more than anticipated. This option is replacement of isMaxStakeBet from v1/bets/place'
sport_idint
event_idint
period_numberint
bet_typePlaceBetRequestBetTypeBet type.
teamTeamTeam type.
sidePlaceBetRequestSideSide type.

PlaceBetRequestWinRiskStake

Whether the stake amount is risk or win amount.

Properties

NameTypeRequiredDescription
WINstr"WIN"
RISKstr"RISK"

FillType

NORMAL - bet will be placed on specified stake.
FILLANDKILL - If the stake is over the max limit, bet will be placed on max limit, otherwise it will be placed on specified stake.
FILLMAXLIMIT - bet will be places on max limit, stake amount will be ignored. Please note that maximum limits can change at any moment, which may result in risking more than anticipated. This option is replacement of isMaxStakeBet from v1/bets/place'

Properties

NameTypeRequiredDescription
NORMALstr"NORMAL"
FILLANDKILLstr"FILLANDKILL"
FILLMAXLIMITstr"FILLMAXLIMIT"

PlaceBetRequestBetType

Bet type.

Properties

NameTypeRequiredDescription
MONEYLINEstr"MONEYLINE"
TEAM_TOTAL_POINTSstr"TEAM_TOTAL_POINTS"
SPREADstr"SPREAD"
TOTAL_POINTSstr"TOTAL_POINTS"

Team

Team type.

Properties

NameTypeRequiredDescription
TEAM1str"TEAM1"
TEAM2str"TEAM2"
DRAWstr"DRAW"

PlaceBetRequestSide

Side type.

Properties

NameTypeRequiredDescription
OVERstr"OVER"
UNDERstr"UNDER"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →