Skip to main content

SpecialBetResponse

Properties

NameTypeRequiredDescription
statusSpecialBetResponseStatusStatus of the request.
errorCodeSpecialBetResponseErrorCodeWhen 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.
betIdnumberBet identifier. Populated in case of accepted bet.
uniqueRequestIdstringUnique identifier provided in the request.
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.

SpecialBetResponseStatus

Status of the request.

Properties

NameTypeRequiredDescription
ACCEPTEDstring"ACCEPTED"
PROCESSED_WITH_ERRORstring"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_CLOSEDstring"ALL_BETTING_CLOSED"
ABOVE_MAX_BET_AMOUNTstring"ABOVE_MAX_BET_AMOUNT"
BELOW_MIN_BET_AMOUNTstring"BELOW_MIN_BET_AMOUNT"
BLOCKED_BETTINGstring"BLOCKED_BETTING"
BLOCKED_CLIENTstring"BLOCKED_CLIENT"
CONTEST_NOT_FOUNDstring"CONTEST_NOT_FOUND"
DUPLICATED_REQUESTstring"DUPLICATED_REQUEST"
INCOMPLETE_CUSTOMER_BETTING_PROFILEstring"INCOMPLETE_CUSTOMER_BETTING_PROFILE"
INSUFFICIENT_FUNDSstring"INSUFFICIENT_FUNDS"
INVALID_COUNTRYstring"INVALID_COUNTRY"
INVALID_REQUESTstring"INVALID_REQUEST"
LINE_CHANGEDstring"LINE_CHANGED"
PAST_CUTOFFTIMEstring"PAST_CUTOFFTIME"
RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDEDstring"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDEDstring"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
SYSTEM_ERROR_1string"SYSTEM_ERROR_1"
SYSTEM_ERROR_2string"SYSTEM_ERROR_2"
UNIQUE_REQUEST_ID_REQUIREDstring"UNIQUE_REQUEST_ID_REQUIRED"
INVALID_CUSTOMER_PROFILEstring"INVALID_CUSTOMER_PROFILE"
BETTING_SUSPENDEDstring"BETTING_SUSPENDED"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →