Skip to main content

SpecialBetResponse

Properties

NameTypeRequiredDescription
statusSpecialBetResponseStatusStatus of the request.
error_codeSpecialBetResponseErrorCodeWhen Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem. ALL_BETTING_CLOSED = Betting is not allowed at this moment. This may happen during system maintenance. 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, CONTEST_NOT_FOUND = Incorrect contest id provided or contest is no longer available, DUPLICATED_REQUEST = UniqueRequestId must be unique for each bet, INCOMPLETE_CUSTOMER_BETTING_PROFILE = Customer profile could not be loaded, INSUFFICIENT_FUNDS = Bet is submitted by a client with insufficient funds, INVALID_COUNTRY = Client country is not allowed for betting, INVALID_REQUEST = Special bet request is not valid, LINE_CHANGED = Bet is submitted on a line that has changed, PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time, RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Self-imposed loss limit exceeded, RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Self-imposed risk limit exceeded, SYSTEM_ERROR_1 = Unexpected error, SYSTEM_ERROR_2 = Unexpected error, UNIQUE_REQUEST_ID_REQUIRED = UniqueRequestId is missing, INVALID_CUSTOMER_PROFILE = System configuration issue, BETTING_SUSPENDED - Due to anomalous market circumstances bets are not currently being accepted on this line. Try again with next LineId.
bet_idintBet identifier. Populated in case of accepted bet.
unique_request_idstrUnique identifier provided in the request.
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.

SpecialBetResponseStatus

Status of the request.

Properties

NameTypeRequiredDescription
ACCEPTEDstr"ACCEPTED"
PROCESSED_WITH_ERRORstr"PROCESSED_WITH_ERROR"

SpecialBetResponseErrorCode

When Status is PROCESSED_WITH_ERROR, provides a code indicating the specific problem.

ALL_BETTING_CLOSED = Betting is not allowed at this moment. This may happen during system maintenance.
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,
CONTEST_NOT_FOUND = Incorrect contest id provided or contest is no longer available,
DUPLICATED_REQUEST = UniqueRequestId must be unique for each bet,
INCOMPLETE_CUSTOMER_BETTING_PROFILE = Customer profile could not be loaded,
INSUFFICIENT_FUNDS = Bet is submitted by a client with insufficient funds,
INVALID_COUNTRY = Client country is not allowed for betting,
INVALID_REQUEST = Special bet request is not valid,
LINE_CHANGED = Bet is submitted on a line that has changed,
PAST_CUTOFFTIME = Bet is submitted on a game after the betting cutoff time,
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED = Self-imposed loss limit exceeded,
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED = Self-imposed risk limit exceeded, SYSTEM_ERROR_1 = Unexpected error,
SYSTEM_ERROR_2 = Unexpected error,
UNIQUE_REQUEST_ID_REQUIRED = UniqueRequestId is missing,
INVALID_CUSTOMER_PROFILE = System configuration issue, 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"
ABOVE_MAX_BET_AMOUNTstr"ABOVE_MAX_BET_AMOUNT"
BELOW_MIN_BET_AMOUNTstr"BELOW_MIN_BET_AMOUNT"
BLOCKED_BETTINGstr"BLOCKED_BETTING"
BLOCKED_CLIENTstr"BLOCKED_CLIENT"
CONTEST_NOT_FOUNDstr"CONTEST_NOT_FOUND"
DUPLICATED_REQUESTstr"DUPLICATED_REQUEST"
INCOMPLETE_CUSTOMER_BETTING_PROFILEstr"INCOMPLETE_CUSTOMER_BETTING_PROFILE"
INSUFFICIENT_FUNDSstr"INSUFFICIENT_FUNDS"
INVALID_COUNTRYstr"INVALID_COUNTRY"
INVALID_REQUESTstr"INVALID_REQUEST"
LINE_CHANGEDstr"LINE_CHANGED"
PAST_CUTOFFTIMEstr"PAST_CUTOFFTIME"
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDEDstr"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDEDstr"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
SYSTEM_ERROR_1str"SYSTEM_ERROR_1"
SYSTEM_ERROR_2str"SYSTEM_ERROR_2"
UNIQUE_REQUEST_ID_REQUIREDstr"UNIQUE_REQUEST_ID_REQUIRED"
INVALID_CUSTOMER_PROFILEstr"INVALID_CUSTOMER_PROFILE"
BETTING_SUSPENDEDstr"BETTING_SUSPENDED"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →