Skip to main content

PlaceParlayBetResponse

Properties

NameTypeRequiredDescription
statusPlaceParlayBetResponseStatusStatus of the response.
error_codePlaceParlayBetResponseErrorCodeWhen Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem. ABOVE_MAX_BET_AMOUNT = Stake is above allowed maximum amount, ALL_BETTING_CLOSED = Betting is not allowed at this moment, BELOW_MIN_BET_AMOUNT = Stake is below allowed minimum amount, BLOCKED_BETTING = Betting is suspended for the client, BLOCKED_CLIENT = Client is no longer active, INSUFFICIENT_FUNDS = Bet is submitted by a client with insufficient funds, INVALID_COUNTRY = Client country is not allowed for betting, INVALID_LEGS = One or more legs are invalid, INVALID_ODDS_FORMAT = If a bet was submitted with the odds format that is not allowed for the client, INVALID_ROUND_ROBIN_OPTIONS = Round robin options are invalid (i.e. does not match with number of legs), ROUND_ROBIN_DISALLOWED = Round robin is disallowed for one of the leagues, TOO_MANY_LEGS = Maximum of 10 legs can be specified, TOO_FEW_LEGS = At least 2 legs are required for Parlay, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit, INVALID_REQUEST = Request has invalid parameters, DUPLICATED_REQUEST = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed, SYSTEM_ERROR_3 = Unexpected error
bet_idintId of a newly created bet.
unique_request_idstrUnique identifier provided in the request.
round_robin_option_with_oddsList[RoundRobinOptionWithOdds]Provides array with all acceptable Round Robin options with parlay odds for that option.
max_risk_stakefloatMaximum stake amount
min_risk_stakefloatMinimum stake amount
valid_legsList[ParlayLegResponse]Collection of valid legs (format described below). Can be empty if no valid legs found.
invalid_legsList[ParlayLegResponse]The collection of legs that resulted in error (format described below). Can be empty if no invalid legs found.

PlaceParlayBetResponseStatus

Status of the response.

Properties

NameTypeRequiredDescription
ACCEPTEDstr"ACCEPTED"
PROCESSED_WITH_ERRORstr"PROCESSED_WITH_ERROR"

PlaceParlayBetResponseErrorCode

When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.

ABOVE_MAX_BET_AMOUNT = Stake is above allowed maximum amount,
ALL_BETTING_CLOSED = Betting is not allowed at this moment,
BELOW_MIN_BET_AMOUNT = Stake is below allowed minimum amount,
BLOCKED_BETTING = Betting is suspended for the client,
BLOCKED_CLIENT = Client is no longer active,
INSUFFICIENT_FUNDS = Bet is submitted by a client with insufficient funds,
INVALID_COUNTRY = Client country is not allowed for betting,
INVALID_LEGS = One or more legs are invalid,
INVALID_ODDS_FORMAT = If a bet was submitted with the odds format that is not allowed for the client,
INVALID_ROUND_ROBIN_OPTIONS = Round robin options are invalid (i.e. does not match with number of legs),
ROUND_ROBIN_DISALLOWED = Round robin is disallowed for one of the leagues,
TOO_MANY_LEGS = Maximum of 10 legs can be specified,
TOO_FEW_LEGS = At least 2 legs are required for Parlay,
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit,
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit,
INVALID_REQUEST = Request has invalid parameters,
DUPLICATED_REQUEST = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed,
SYSTEM_ERROR_3 = Unexpected error

Properties

NameTypeRequiredDescription
ABOVE_MAX_BET_AMOUNTstr"ABOVE_MAX_BET_AMOUNT"
ALL_BETTING_CLOSEDstr"ALL_BETTING_CLOSED"
BELOW_MIN_BET_AMOUNTstr"BELOW_MIN_BET_AMOUNT"
BLOCKED_BETTINGstr"BLOCKED_BETTING"
BLOCKED_CLIENTstr"BLOCKED_CLIENT"
INSUFFICIENT_FUNDSstr"INSUFFICIENT_FUNDS"
INVALID_COUNTRYstr"INVALID_COUNTRY"
INVALID_LEGSstr"INVALID_LEGS"
INVALID_ODDS_FORMATstr"INVALID_ODDS_FORMAT"
INVALID_ROUND_ROBIN_OPTIONSstr"INVALID_ROUND_ROBIN_OPTIONS"
ROUND_ROBIN_DISALLOWEDstr"ROUND_ROBIN_DISALLOWED"
TOO_MANY_LEGSstr"TOO_MANY_LEGS"
TOO_FEW_LEGSstr"TOO_FEW_LEGS"
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDEDstr"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDEDstr"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
INVALID_REQUESTstr"INVALID_REQUEST"
DUPLICATED_REQUESTstr"DUPLICATED_REQUEST"
SYSTEM_ERROR_3str"SYSTEM_ERROR_3"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →