SpecialBetResponse
Properties
Name | Type | Required | Description |
---|---|---|---|
Status | SpecialBetResponseStatus | ❌ | Status of the request. |
ErrorCode | 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. |
BetId | long | ❌ | Bet identifier. Populated in case of accepted bet. |
UniqueRequestId | string | ❌ | Unique identifier provided in the request. |
Win | double | ❌ | Win amount. Populated in case of accepted bet. |
Risk | double | ❌ | Risk amount. Populated in case of accepted bet. |
Price | double | ❌ | Bet price. Populated in case of accepted bet. |
BetterLineWasAccepted | bool | ❌ | Whether 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
Name | Type | Required | Description |
---|---|---|---|
Accepted | string | ✅ | "ACCEPTED" |
ProcessedWithError | string | ✅ | "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
Name | Type | Required | Description |
---|---|---|---|
AllBettingClosed | string | ✅ | "ALL_BETTING_CLOSED" |
AboveMaxBetAmount | string | ✅ | "ABOVE_MAX_BET_AMOUNT" |
BelowMinBetAmount | string | ✅ | "BELOW_MIN_BET_AMOUNT" |
BlockedBetting | string | ✅ | "BLOCKED_BETTING" |
BlockedClient | string | ✅ | "BLOCKED_CLIENT" |
ContestNotFound | string | ✅ | "CONTEST_NOT_FOUND" |
DuplicatedRequest | string | ✅ | "DUPLICATED_REQUEST" |
IncompleteCustomerBettingProfile | string | ✅ | "INCOMPLETE_CUSTOMER_BETTING_PROFILE" |
InsufficientFunds | string | ✅ | "INSUFFICIENT_FUNDS" |
InvalidCountry | string | ✅ | "INVALID_COUNTRY" |
InvalidRequest | string | ✅ | "INVALID_REQUEST" |
LineChanged | string | ✅ | "LINE_CHANGED" |
PastCutofftime | string | ✅ | "PAST_CUTOFFTIME" |
ResponsibleBettingLossLimitExceeded | string | ✅ | "RESPONSIBLE_BETTING_LOSS_LIMIT_EXCEEDED" |
ResponsibleBettingRiskLimitExceeded | string | ✅ | "RESPONSIBLE_BETTING_RISK_LIMIT_EXCEEDED" |
SystemError1 | string | ✅ | "SYSTEM_ERROR_1" |
SystemError2 | string | ✅ | "SYSTEM_ERROR_2" |
UniqueRequestIdRequired | string | ✅ | "UNIQUE_REQUEST_ID_REQUIRED" |
InvalidCustomerProfile | string | ✅ | "INVALID_CUSTOMER_PROFILE" |
BettingSuspended | string | ✅ | "BETTING_SUSPENDED" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs