Skip to main content

PlaceStraightBetResponse

Properties

NameTypeRequiredDescription
statusPlaceStraightBetResponseStatusStatus of the response.
errorCodePlaceStraightBetResponseErrorCodeIf 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.
uniqueRequestIdstringEcho of the uniqueRequestId from the request.
betIdnumberBet identification. Populated in case of accepted bet.
winnumberWin amount. Populated in case of accepted bet.
risknumberRisk amount. Populated in case of accepted bet.
pricenumberBet price. Populated in case of accepted bet.
betterLineWasAcceptedbooleanWhether 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

NameTypeRequiredDescription
ACCEPTEDstring"ACCEPTED"
PENDING_ACCEPTANCEstring"PENDING_ACCEPTANCE"
PROCESSED_WITH_ERRORstring"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

NameTypeRequiredDescription
ALL_BETTING_CLOSEDstring"ALL_BETTING_CLOSED"
ALL_LIVE_BETTING_CLOSEDstring"ALL_LIVE_BETTING_CLOSED"
ABOVE_EVENT_MAXstring"ABOVE_EVENT_MAX"
ABOVE_MAX_BET_AMOUNTstring"ABOVE_MAX_BET_AMOUNT"
BELOW_MIN_BET_AMOUNTstring"BELOW_MIN_BET_AMOUNT"
BLOCKED_BETTINGstring"BLOCKED_BETTING"
BLOCKED_CLIENTstring"BLOCKED_CLIENT"
INSUFFICIENT_FUNDSstring"INSUFFICIENT_FUNDS"
INVALID_COUNTRYstring"INVALID_COUNTRY"
INVALID_EVENTstring"INVALID_EVENT"
INVALID_ODDS_FORMATstring"INVALID_ODDS_FORMAT"
LINE_CHANGEDstring"LINE_CHANGED"
LISTED_PITCHERS_SELECTION_ERRORstring"LISTED_PITCHERS_SELECTION_ERROR"
OFFLINE_EVENTstring"OFFLINE_EVENT"
PAST_CUTOFFTIMEstring"PAST_CUTOFFTIME"
RED_CARDS_CHANGEDstring"RED_CARDS_CHANGED"
SCORE_CHANGEDstring"SCORE_CHANGED"
TIME_RESTRICTIONstring"TIME_RESTRICTION"
DUPLICATED_REQUESTstring"DUPLICATED_REQUEST"
INCOMPLETE_CUSTOMER_BETTING_PROFILEstring"INCOMPLETE_CUSTOMER_BETTING_PROFILE"
INVALID_CUSTOMER_PROFILEstring"INVALID_CUSTOMER_PROFILE"
LIMITS_CONFIGURATION_ISSUEstring"LIMITS_CONFIGURATION_ISSUE"
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDEDstring"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDEDstring"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
SYSTEM_ERROR_3string"SYSTEM_ERROR_3"
LICENCE_RESTRICTION_LIVE_BETTING_BLOCKEDstring"LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED"
BETTING_SUSPENDEDstring"BETTING_SUSPENDED"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →