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 | long | ❌ | Id of a newly created bet. |
UniqueRequestId | string | ❌ | Unique identifier provided in the request. |
Price | double | ❌ | Price for the bet. |
Risk | double | ❌ | Amount wagered. |
Win | double | ❌ | Potential winnings. |
InvalidLegs | List<PlaceTeaserBetLegResponse> | ❌ | A collection of invalid legs, if any. |
ValidLegs | 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 |
---|---|---|---|
AboveMaxBetAmount | string | ✅ | "ABOVE_MAX_BET_AMOUNT" |
AllBettingClosed | string | ✅ | "ALL_BETTING_CLOSED" |
BelowMinBetAmount | string | ✅ | "BELOW_MIN_BET_AMOUNT" |
BlockedBetting | string | ✅ | "BLOCKED_BETTING" |
BlockedClient | string | ✅ | "BLOCKED_CLIENT" |
DoubleHit | string | ✅ | "DOUBLE_HIT" |
DuplicateClientReferenceId | string | ✅ | "DUPLICATE_CLIENT_REFERENCE_ID" |
IncompleteCustomerBettingProfile | string | ✅ | "INCOMPLETE_CUSTOMER_BETTING_PROFILE" |
InsufficientFunds | string | ✅ | "INSUFFICIENT_FUNDS" |
InvalidCountry | string | ✅ | "INVALID_COUNTRY" |
InvalidCustomerProfile | string | ✅ | "INVALID_CUSTOMER_PROFILE" |
InvalidLegs | string | ✅ | "INVALID_LEGS" |
InvalidRequest | string | ✅ | "INVALID_REQUEST" |
OddsFormatMismatch | string | ✅ | "ODDS_FORMAT_MISMATCH" |
TeaserDoesNotExist | string | ✅ | "TEASER_DOES_NOT_EXIST" |
SameEventOnlyRequired | string | ✅ | "SAME_EVENT_ONLY_REQUIRED" |
SystemError1 | string | ✅ | "SYSTEM_ERROR_1" |
SystemError2 | string | ✅ | "SYSTEM_ERROR_2" |
SystemError3 | string | ✅ | "SYSTEM_ERROR_3" |
TooFewLegs | string | ✅ | "TOO_FEW_LEGS" |
TooManyLegs | string | ✅ | "TOO_MANY_LEGS" |
DuplicatedRequest | string | ✅ | "DUPLICATED_REQUEST" |
ResponsibleBettingLossLimitExceeded | string | ✅ | "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" |
ResponsibleBettingRiskLimitExceeded | string | ✅ | "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs