PlaceTeaserBetResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
status | string | ❌ | Status of the request. |
errorCode | 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 |
betId | number | ❌ | Id of a newly created bet. |
uniqueRequestId | string | ❌ | Unique identifier provided in the request. |
price | number | ❌ | Price for the bet. |
risk | number | ❌ | Amount wagered. |
win | number | ❌ | Potential winnings. |
invalidLegs | PlaceTeaserBetLegResponse[] | ❌ | A collection of invalid legs, if any. |
validLegs | 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 | string | ✅ | "ABOVE_MAX_BET_AMOUNT" |
ALL_BETTING_CLOSED | string | ✅ | "ALL_BETTING_CLOSED" |
BELOW_MIN_BET_AMOUNT | string | ✅ | "BELOW_MIN_BET_AMOUNT" |
BLOCKED_BETTING | string | ✅ | "BLOCKED_BETTING" |
BLOCKED_CLIENT | string | ✅ | "BLOCKED_CLIENT" |
DOUBLE_HIT | string | ✅ | "DOUBLE_HIT" |
DUPLICATE_CLIENT_REFERENCE_ID | string | ✅ | "DUPLICATE_CLIENT_REFERENCE_ID" |
INCOMPLETE_CUSTOMER_BETTING_PROFILE | string | ✅ | "INCOMPLETE_CUSTOMER_BETTING_PROFILE" |
INSUFFICIENT_FUNDS | string | ✅ | "INSUFFICIENT_FUNDS" |
INVALID_COUNTRY | string | ✅ | "INVALID_COUNTRY" |
INVALID_CUSTOMER_PROFILE | string | ✅ | "INVALID_CUSTOMER_PROFILE" |
INVALID_LEGS | string | ✅ | "INVALID_LEGS" |
INVALID_REQUEST | string | ✅ | "INVALID_REQUEST" |
ODDS_FORMAT_MISMATCH | string | ✅ | "ODDS_FORMAT_MISMATCH" |
TEASER_DOES_NOT_EXIST | string | ✅ | "TEASER_DOES_NOT_EXIST" |
SAME_EVENT_ONLY_REQUIRED | string | ✅ | "SAME_EVENT_ONLY_REQUIRED" |
SYSTEM_ERROR_1 | string | ✅ | "SYSTEM_ERROR_1" |
SYSTEM_ERROR_2 | string | ✅ | "SYSTEM_ERROR_2" |
SYSTEM_ERROR_3 | string | ✅ | "SYSTEM_ERROR_3" |
TOO_FEW_LEGS | string | ✅ | "TOO_FEW_LEGS" |
TOO_MANY_LEGS | string | ✅ | "TOO_MANY_LEGS" |
DUPLICATED_REQUEST | string | ✅ | "DUPLICATED_REQUEST" |
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED | string | ✅ | "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" |
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED | string | ✅ | "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs