PlaceParlayBetResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
status | PlaceParlayBetResponseStatus | ❌ | Status of the response. |
error_code | 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 |
bet_id | int | ❌ | Id of a newly created bet. |
unique_request_id | str | ❌ | Unique identifier provided in the request. |
round_robin_option_with_odds | List[RoundRobinOptionWithOdds] | ❌ | Provides array with all acceptable Round Robin options with parlay odds for that option. |
max_risk_stake | float | ❌ | Maximum stake amount |
min_risk_stake | float | ❌ | Minimum stake amount |
valid_legs | List[ParlayLegResponse] | ❌ | Collection of valid legs (format described below). Can be empty if no valid legs found. |
invalid_legs | List[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
Name | Type | Required | Description |
---|---|---|---|
ACCEPTED | str | ✅ | "ACCEPTED" |
PROCESSED_WITH_ERROR | str | ✅ | "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
Name | Type | Required | Description |
---|---|---|---|
ABOVE_MAX_BET_AMOUNT | str | ✅ | "ABOVE_MAX_BET_AMOUNT" |
ALL_BETTING_CLOSED | str | ✅ | "ALL_BETTING_CLOSED" |
BELOW_MIN_BET_AMOUNT | str | ✅ | "BELOW_MIN_BET_AMOUNT" |
BLOCKED_BETTING | str | ✅ | "BLOCKED_BETTING" |
BLOCKED_CLIENT | str | ✅ | "BLOCKED_CLIENT" |
INSUFFICIENT_FUNDS | str | ✅ | "INSUFFICIENT_FUNDS" |
INVALID_COUNTRY | str | ✅ | "INVALID_COUNTRY" |
INVALID_LEGS | str | ✅ | "INVALID_LEGS" |
INVALID_ODDS_FORMAT | str | ✅ | "INVALID_ODDS_FORMAT" |
INVALID_ROUND_ROBIN_OPTIONS | str | ✅ | "INVALID_ROUND_ROBIN_OPTIONS" |
ROUND_ROBIN_DISALLOWED | str | ✅ | "ROUND_ROBIN_DISALLOWED" |
TOO_MANY_LEGS | str | ✅ | "TOO_MANY_LEGS" |
TOO_FEW_LEGS | str | ✅ | "TOO_FEW_LEGS" |
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED | str | ✅ | "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" |
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED | str | ✅ | "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" |
INVALID_REQUEST | str | ✅ | "INVALID_REQUEST" |
DUPLICATED_REQUEST | str | ✅ | "DUPLICATED_REQUEST" |
SYSTEM_ERROR_3 | str | ✅ | "SYSTEM_ERROR_3" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs