Skip to main content

PlaceParlayBetResponse

Properties

NameTypeRequiredDescription
statusPlaceParlayBetResponseStatusStatus of the response.
errorCodePlaceParlayBetResponseErrorCodeWhen 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
betIdnumberId of a newly created bet.
uniqueRequestIdstringUnique identifier provided in the request.
roundRobinOptionWithOddsRoundRobinOptionWithOdds[]Provides array with all acceptable Round Robin options with parlay odds for that option.
maxRiskStakenumberMaximum stake amount
minRiskStakenumberMinimum stake amount
validLegsParlayLegResponse[]Collection of valid legs (format described below). Can be empty if no valid legs found.
invalidLegsParlayLegResponse[]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
ACCEPTEDstring"ACCEPTED"
PROCESSED_WITH_ERRORstring"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_AMOUNTstring"ABOVE_MAX_BET_AMOUNT"
ALL_BETTING_CLOSEDstring"ALL_BETTING_CLOSED"
BELOW_MIN_BET_AMOUNTstring"BELOW_MIN_BET_AMOUNT"
BLOCKED_BETTINGstring"BLOCKED_BETTING"
BLOCKED_CLIENTstring"BLOCKED_CLIENT"
INSUFFICIENT_FUNDSstring"INSUFFICIENT_FUNDS"
INVALID_COUNTRYstring"INVALID_COUNTRY"
INVALID_LEGSstring"INVALID_LEGS"
INVALID_ODDS_FORMATstring"INVALID_ODDS_FORMAT"
INVALID_ROUND_ROBIN_OPTIONSstring"INVALID_ROUND_ROBIN_OPTIONS"
ROUND_ROBIN_DISALLOWEDstring"ROUND_ROBIN_DISALLOWED"
TOO_MANY_LEGSstring"TOO_MANY_LEGS"
TOO_FEW_LEGSstring"TOO_FEW_LEGS"
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDEDstring"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDEDstring"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
INVALID_REQUESTstring"INVALID_REQUEST"
DUPLICATED_REQUESTstring"DUPLICATED_REQUEST"
SYSTEM_ERROR_3string"SYSTEM_ERROR_3"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →