PlaceStraightBetResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
Status | PlaceStraightBetResponseStatus | ❌ | Status of the response. |
ErrorCode | PlaceStraightBetResponseErrorCode | ❌ | If Status is PROCESSED_WITH_ERROR, errorCode will be in the response. ALL_BETTING_CLOSED = Betting is not allowed at this moment. This may happen during system maintenance, ALL_LIVE_BETTING_CLOSED = Live betting is not allowed at this moment. This may happen during system maintenance, ABOVE_EVENT_MAX = Bet cannot be placed because client exceeded allowed maximum of risk on a line, ABOVE_MAX_BET_AMOUNT = Stake is above allowed maximum amount, 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_EVENT = Invalid eventid, INVALID_ODDS_FORMAT = If a bet was submitted with the odds format that is not allowed for the client, LINE_CHANGED = Bet is submitted on a line that has changed, OFFLINE_EVENT = Bet is submitted on an event that is offline or the submitted line is not offered at the moment due to points/handicap change or the submitted bet type is just not offered at the moment, PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time, RED_CARDS_CHANGED = Bet is submitted on a live soccer event with changed red card count, SCORE_CHANGED = Bet is submitted on a live soccer event with changed score, TIME_RESTRICTION = Bet is submitted within too short of a period from the same bet previously placed by a client, DUPLICATED_REQUEST = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed, INCOMPLETE_CUSTOMER_BETTING_PROFILE = System configuration issue, INVALID_CUSTOMER_PROFILE = System configuration issue, LIMITS_CONFIGURATION_ISSUE = System configuration issue, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit, SYSTEM_ERROR_3 = Unexpected error, LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED - Live betting blocked due to licence restrictions, BETTING_SUSPENDED - Due to anomalous market circumstances bets are not currently being accepted on this line. Try again with next LineId. |
UniqueRequestId | string | ❌ | Echo of the uniqueRequestId from the request. |
BetId | long | ❌ | Bet identification. Populated in case of accepted bet. |
Win | double | ❌ | Win amount. Populated in case of accepted bet. |
Risk | double | ❌ | Risk amount. Populated in case of accepted bet. |
Price | double | ❌ | Bet price. Populated in case of accepted bet. |
BetterLineWasAccepted | bool | ❌ | Whether or not the bet was accepted on the line that changed in favour of client. This can be true only if acceptBetterLine in the Place Bet request is set to TRUE. |
PlaceStraightBetResponseStatus
Status of the response.
Properties
Name | Type | Required | Description |
---|---|---|---|
Accepted | string | ✅ | "ACCEPTED" |
PendingAcceptance | string | ✅ | "PENDING_ACCEPTANCE" |
ProcessedWithError | string | ✅ | "PROCESSED_WITH_ERROR" |
PlaceStraightBetResponseErrorCode
If Status is PROCESSED_WITH_ERROR, errorCode will be in the response. ALL_BETTING_CLOSED = Betting is not allowed at this moment. This may happen during system maintenance, ALL_LIVE_BETTING_CLOSED = Live betting is not allowed at this moment. This may happen during system maintenance, ABOVE_EVENT_MAX = Bet cannot be placed because client exceeded allowed maximum of risk on a line, ABOVE_MAX_BET_AMOUNT = Stake is above allowed maximum amount, 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_EVENT = Invalid eventid, INVALID_ODDS_FORMAT = If a bet was submitted with the odds format that is not allowed for the client, LINE_CHANGED = Bet is submitted on a line that has changed, OFFLINE_EVENT = Bet is submitted on an event that is offline or the submitted line is not offered at the moment due to points/handicap change or the submitted bet type is just not offered at the moment, PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time, RED_CARDS_CHANGED = Bet is submitted on a live soccer event with changed red card count, SCORE_CHANGED = Bet is submitted on a live soccer event with changed score, TIME_RESTRICTION = Bet is submitted within too short of a period from the same bet previously placed by a client, DUPLICATED_REQUEST = Request with the same uniqueRequestId was already processed. Please set the new value if you still want the request to be processed, INCOMPLETE_CUSTOMER_BETTING_PROFILE = System configuration issue, INVALID_CUSTOMER_PROFILE = System configuration issue, LIMITS_CONFIGURATION_ISSUE = System configuration issue, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Client has reached his total loss limit, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Client has reached his total risk limit, SYSTEM_ERROR_3 = Unexpected error, LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED - Live betting blocked due to licence restrictions, BETTING_SUSPENDED - Due to anomalous market circumstances bets are not currently being accepted on this line. Try again with next LineId.
Properties
Name | Type | Required | Description |
---|---|---|---|
AllBettingClosed | string | ✅ | "ALL_BETTING_CLOSED" |
AllLiveBettingClosed | string | ✅ | "ALL_LIVE_BETTING_CLOSED" |
AboveEventMax | string | ✅ | "ABOVE_EVENT_MAX" |
AboveMaxBetAmount | string | ✅ | "ABOVE_MAX_BET_AMOUNT" |
BelowMinBetAmount | string | ✅ | "BELOW_MIN_BET_AMOUNT" |
BlockedBetting | string | ✅ | "BLOCKED_BETTING" |
BlockedClient | string | ✅ | "BLOCKED_CLIENT" |
InsufficientFunds | string | ✅ | "INSUFFICIENT_FUNDS" |
InvalidCountry | string | ✅ | "INVALID_COUNTRY" |
InvalidEvent | string | ✅ | "INVALID_EVENT" |
InvalidOddsFormat | string | ✅ | "INVALID_ODDS_FORMAT" |
LineChanged | string | ✅ | "LINE_CHANGED" |
ListedPitchersSelectionError | string | ✅ | "LISTED_PITCHERS_SELECTION_ERROR" |
OfflineEvent | string | ✅ | "OFFLINE_EVENT" |
PastCutofftime | string | ✅ | "PAST_CUTOFFTIME" |
RedCardsChanged | string | ✅ | "RED_CARDS_CHANGED" |
ScoreChanged | string | ✅ | "SCORE_CHANGED" |
TimeRestriction | string | ✅ | "TIME_RESTRICTION" |
DuplicatedRequest | string | ✅ | "DUPLICATED_REQUEST" |
IncompleteCustomerBettingProfile | string | ✅ | "INCOMPLETE_CUSTOMER_BETTING_PROFILE" |
InvalidCustomerProfile | string | ✅ | "INVALID_CUSTOMER_PROFILE" |
LimitsConfigurationIssue | string | ✅ | "LIMITS_CONFIGURATION_ISSUE" |
ResponsibleBettingLossLimitExceeded | string | ✅ | "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" |
ResponsibleBettingRiskLimitExceeded | string | ✅ | "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" |
SystemError3 | string | ✅ | "SYSTEM_ERROR_3" |
LicenceRestrictionLiveBettingBlocked | string | ✅ | "LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED" |
BettingSuspended | string | ✅ | "BETTING_SUSPENDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs