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.
BetIdlongBet identifier. Populated in case of accepted bet.
UniqueRequestIdstringUnique identifier provided in the request.
WindoubleWin amount. Populated in case of accepted bet.
RiskdoubleRisk amount. Populated in case of accepted bet.
PricedoubleBet price. Populated in case of accepted bet.
BetterLineWasAcceptedboolWhether 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"
ProcessedWithErrorstring"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
AllBettingClosedstring"ALL_BETTING_CLOSED"
AboveMaxBetAmountstring"ABOVE_MAX_BET_AMOUNT"
BelowMinBetAmountstring"BELOW_MIN_BET_AMOUNT"
BlockedBettingstring"BLOCKED_BETTING"
BlockedClientstring"BLOCKED_CLIENT"
ContestNotFoundstring"CONTEST_NOT_FOUND"
DuplicatedRequeststring"DUPLICATED_REQUEST"
IncompleteCustomerBettingProfilestring"INCOMPLETE_CUSTOMER_BETTING_PROFILE"
InsufficientFundsstring"INSUFFICIENT_FUNDS"
InvalidCountrystring"INVALID_COUNTRY"
InvalidRequeststring"INVALID_REQUEST"
LineChangedstring"LINE_CHANGED"
PastCutofftimestring"PAST_CUTOFFTIME"
ResponsibleBettingLossLimitExceededstring"RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED"
ResponsibleBettingRiskLimitExceededstring"RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED"
SystemError1string"SYSTEM_ERROR_1"
SystemError2string"SYSTEM_ERROR_2"
UniqueRequestIdRequiredstring"UNIQUE_REQUEST_ID_REQUIRED"
InvalidCustomerProfilestring"INVALID_CUSTOMER_PROFILE"
BettingSuspendedstring"BETTING_SUSPENDED"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →