Skip to main content

PlaceStraightBetResponse

Properties

NameTypeRequiredDescription
statusPlaceStraightBetResponseStatusStatus of the response.
error_codePlaceStraightBetResponseErrorCodeIf 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.
unique_request_idstrEcho of the uniqueRequestId from the request.
bet_idintBet identification. Populated in case of accepted bet.
winfloatWin amount. Populated in case of accepted bet.
riskfloatRisk amount. Populated in case of accepted bet.
pricefloatBet price. Populated in case of accepted bet.
better_line_was_acceptedboolWhether 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
ACCEPTEDstr"ACCEPTED"
PENDING_ACCEPTANCEstr"PENDING_ACCEPTANCE"
PROCESSED_WITH_ERRORstr"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_CLOSEDstr"ALL_BETTING_CLOSED"
ALL_LIVE_BETTING_CLOSEDstr"ALL_LIVE_BETTING_CLOSED"
ABOVE_EVENT_MAXstr"ABOVE_EVENT_MAX"
ABOVE_MAX_BET_AMOUNTstr"ABOVE_MAX_BET_AMOUNT"
BELOW_MIN_BET_AMOUNTstr"BELOW_MIN_BET_AMOUNT"
BLOCKED_BETTINGstr"BLOCKED_BETTING"
BLOCKED_CLIENTstr"BLOCKED_CLIENT"
INSUFFICIENT_FUNDSstr"INSUFFICIENT_FUNDS"
INVALID_COUNTRYstr"INVALID_COUNTRY"
INVALID_EVENTstr"INVALID_EVENT"
INVALID_ODDS_FORMATstr"INVALID_ODDS_FORMAT"
LINE_CHANGEDstr"LINE_CHANGED"
LISTED_PITCHERS_SELECTION_ERRORstr"LISTED_PITCHERS_SELECTION_ERROR"
OFFLINE_EVENTstr"OFFLINE_EVENT"
PAST_CUTOFFTIMEstr"PAST_CUTOFFTIME"
RED_CARDS_CHANGEDstr"RED_CARDS_CHANGED"
SCORE_CHANGEDstr"SCORE_CHANGED"
TIME_RESTRICTIONstr"TIME_RESTRICTION"
DUPLICATED_REQUESTstr"DUPLICATED_REQUEST"
INCOMPLETE_CUSTOMER_BETTING_PROFILEstr"INCOMPLETE_CUSTOMER_BETTING_PROFILE"
INVALID_CUSTOMER_PROFILEstr"INVALID_CUSTOMER_PROFILE"
LIMITS_CONFIGURATION_ISSUEstr"LIMITS_CONFIGURATION_ISSUE"
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDEDstr"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDEDstr"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
SYSTEM_ERROR_3str"SYSTEM_ERROR_3"
LICENCE_RESTRICTION_LIVE_BETTING_BLOCKEDstr"LICENCE_RESTRICTION_LIVE_BETTING_BLOCKED"
BETTING_SUSPENDEDstr"BETTING_SUSPENDED"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →