PlaceTeaserBetResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
status | str | ❌ | Status of the request. |
error_code | PlaceTeaserBetResponseErrorCode | ❌ | When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem. ABOVE_MAX_BET_AMOUNT = Bet is above the maximum allowed, ALL_BETTING_CLOSED = The wagering is disabled in the system (not related to a customer), BELOW_MIN_BET_AMOUNT = Bet is below the minimum allowed, BLOCKED_BETTING = Betting is suspended for the client, BLOCKED_CLIENT = Customer is inactive in the system, DOUBLE_HIT = The website submitted the same bet more than once, DUPLICATE_CLIENT_REFERENCE_ID = The teaser unique id and/or one of the leg unique id are the same, INCOMPLETE_CUSTOMER_BETTING_PROFILE = The customer does not exist, INSUFFICIENT_FUNDS = The risk amount is above the customer’s available balance, INVALID_COUNTRY = Current location is proscribed, INVALID_CUSTOMER_PROFILE = Either the customer does not exist OR the customer business rules are not verified, INVALID_LEGS = One or more legs are not verified, INVALID_REQUEST = Teaser request is not valid, ODDS_FORMAT_MISMATCH = Agent customer’s odds format differs from wager request odds format, TEASER_DOES_NOT_EXIST = Teaser does not exist in the system, SAME_EVENT_ONLY_REQUIRED = Legs required to be for the same game only. Specified in the Teaser Specifications, SYSTEM_ERROR_1 = System error, SYSTEM_ERROR_2 = System error, SYSTEM_ERROR_3 = System error, TOO_FEW_LEGS = Legs count is below Min Picks specified in the Teaser Specifications, TOO_MANY_LEGS = Legs count is above Max Picks specified in the Teaser Specifications, DUPLICATED_REQUEST = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit |
bet_id | int | ❌ | Id of a newly created bet. |
unique_request_id | str | ❌ | Unique identifier provided in the request. |
price | float | ❌ | Price for the bet. |
risk | float | ❌ | Amount wagered. |
win | float | ❌ | Potential winnings. |
invalid_legs | List[PlaceTeaserBetLegResponse] | ❌ | A collection of invalid legs, if any. |
valid_legs | List[PlaceTeaserBetLegResponse] | ❌ | A collection of valid legs, if any. |
PlaceTeaserBetResponseErrorCode
When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.
ABOVE_MAX_BET_AMOUNT = Bet is above the maximum allowed,
ALL_BETTING_CLOSED = The wagering is disabled in the system (not related to a customer),
BELOW_MIN_BET_AMOUNT = Bet is below the minimum allowed,
BLOCKED_BETTING = Betting is suspended for the client,
BLOCKED_CLIENT = Customer is inactive in the system,
DOUBLE_HIT = The website submitted the same bet more than once,
DUPLICATE_CLIENT_REFERENCE_ID = The teaser unique id and/or one of the leg unique id are the same,
INCOMPLETE_CUSTOMER_BETTING_PROFILE = The customer does not exist,
INSUFFICIENT_FUNDS = The risk amount is above the customer’s available balance,
INVALID_COUNTRY = Current location is proscribed,
INVALID_CUSTOMER_PROFILE = Either the customer does not exist OR the customer business rules are not verified,
INVALID_LEGS = One or more legs are not verified,
INVALID_REQUEST = Teaser request is not valid,
ODDS_FORMAT_MISMATCH = Agent customer’s odds format differs from wager request odds format,
TEASER_DOES_NOT_EXIST = Teaser does not exist in the system,
SAME_EVENT_ONLY_REQUIRED = Legs required to be for the same game only. Specified in the Teaser Specifications,
SYSTEM_ERROR_1 = System error,
SYSTEM_ERROR_2 = System error,
SYSTEM_ERROR_3 = System error,
TOO_FEW_LEGS = Legs count is below Min Picks specified in the Teaser Specifications,
TOO_MANY_LEGS = Legs count is above Max Picks specified in the Teaser Specifications,
DUPLICATED_REQUEST = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed,
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit,
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit
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" |
DOUBLE_HIT | str | ✅ | "DOUBLE_HIT" |
DUPLICATE_CLIENT_REFERENCE_ID | str | ✅ | "DUPLICATE_CLIENT_REFERENCE_ID" |
INCOMPLETE_CUSTOMER_BETTING_PROFILE | str | ✅ | "INCOMPLETE_CUSTOMER_BETTING_PROFILE" |
INSUFFICIENT_FUNDS | str | ✅ | "INSUFFICIENT_FUNDS" |
INVALID_COUNTRY | str | ✅ | "INVALID_COUNTRY" |
INVALID_CUSTOMER_PROFILE | str | ✅ | "INVALID_CUSTOMER_PROFILE" |
INVALID_LEGS | str | ✅ | "INVALID_LEGS" |
INVALID_REQUEST | str | ✅ | "INVALID_REQUEST" |
ODDS_FORMAT_MISMATCH | str | ✅ | "ODDS_FORMAT_MISMATCH" |
TEASER_DOES_NOT_EXIST | str | ✅ | "TEASER_DOES_NOT_EXIST" |
SAME_EVENT_ONLY_REQUIRED | str | ✅ | "SAME_EVENT_ONLY_REQUIRED" |
SYSTEM_ERROR_1 | str | ✅ | "SYSTEM_ERROR_1" |
SYSTEM_ERROR_2 | str | ✅ | "SYSTEM_ERROR_2" |
SYSTEM_ERROR_3 | str | ✅ | "SYSTEM_ERROR_3" |
TOO_FEW_LEGS | str | ✅ | "TOO_FEW_LEGS" |
TOO_MANY_LEGS | str | ✅ | "TOO_MANY_LEGS" |
DUPLICATED_REQUEST | str | ✅ | "DUPLICATED_REQUEST" |
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED | str | ✅ | "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" |
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED | str | ✅ | "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs