Business codes

Every result code the member API can return — one global catalog (success = code 0). The message field follows x-lang.

Success

codeNameHTTPMessage
0SUCCESS200Success

Auth / User (1xxx)

codeNameHTTPMessage
1001UNAUTHORIZED401Unauthorized
1002FORBIDDEN403Forbidden
1003USER_NOT_FOUND404User not found
1004USER_ALREADY_EXISTS409User already exists
1005INVALID_CREDENTIALS401Invalid credentials
1006TOKEN_EXPIRED401Token expired
1007TOKEN_INVALID401Token invalid
1008USER_SUSPENDED403User is suspended
1009USER_BANNED403User is banned
1010SHARE_EXCEEDS_PARENT422Share percentage exceeds parent limit
1014OTP_INVALID400Invalid OTP code
1015OTP_EXPIRED400OTP code expired
1016ACCOUNT_LOCKED429Too many failed login attempts. Try again later
1017OTP_REQUIRED400Please verify the OTP before registering
1024USERNAME_TOO_LONG422external_player_id is too long

External-site S2S (1018-1023)

codeNameHTTPMessage
1018API_KEY_INVALID401Invalid or inactive API key
1019API_SIGNATURE_INVALID401Invalid request signature
1020API_TIMESTAMP_INVALID401Request timestamp outside the allowed window
1021API_NONCE_REPLAYED401Duplicate request (nonce already used)
1022API_CHANNEL_FORBIDDEN403Credential not allowed for this channel
1023API_IP_NOT_ALLOWED403Source IP not allowed

Wallet / Withdraw (2xxx)

codeNameHTTPMessage
2001INSUFFICIENT_BALANCE400Insufficient balance
2002WALLET_NOT_FOUND404Wallet not found
2003TRANSACTION_FAILED400Transaction failed
2004DUPLICATE_TRANSACTION409Duplicate transaction
2005WITHDRAW_IN_PROGRESS409A withdrawal is already in progress
2006WITHDRAW_BELOW_TIER_MIN422Balance is below the minimum required to withdraw
2007WITHDRAW_NO_BANK_ACCOUNT422No bank account on file
2008WITHDRAW_DAILY_LIMIT422Daily withdrawal limit reached
2009WITHDRAW_WAGER_NOT_MET422Cannot withdraw while a bonus turnover requirement is active

Game / Provider (3xxx)

codeNameHTTPMessage
3001GAME_NOT_FOUND404Game not found
3002PROVIDER_UNAVAILABLE503Game provider is unavailable
3003GAME_SESSION_EXPIRED410Game session expired
3004INVALID_BET_AMOUNT400Invalid bet amount
3005PROVIDER_NOT_FOUND404Provider not found
3006PROVIDER_ALREADY_EXISTS409Provider already exists
3007GAME_ALREADY_EXISTS409Game already exists
3015REPLAY_UNAVAILABLE422Game result is not available for this bet
3016BET_TRANSACTION_NOT_FOUND404Bet transaction not found

Validation (4xxx)

codeNameHTTPMessage
4001VALIDATION_ERROR400Validation error
4002BAD_REQUEST400Bad request
4004NOT_FOUND404Not found

Payment / Deposit (5xxx)

codeNameHTTPMessage
5005GATEWAY_TEMP_UNAVAILABLE503Payment gateway temporarily unavailable
5007GATEWAY_NOT_CONFIGURED422Payment gateway not configured
5008SLIP_VERIFY_FAILED422Could not verify the transfer slip
5009SLIP_DUPLICATE409This slip has already been used

Promotion (60xx)

codeNameHTTPMessage
6001PROMOTION_NOT_FOUND404Promotion not found
6002PROMOTION_NOT_CLAIMABLE422This promotion is granted automatically on deposit
6003PROMOTION_NOT_ELIGIBLE422Not eligible for this promotion
6004PROMOTION_ALREADY_CLAIMED409Promotion already claimed
6006PROMOTION_ACTIVE_CLAIM_EXISTS409You have an active promotion in progress
6007PROMOTION_BALANCE_TOO_HIGH422Balance must be below the threshold to claim
6008PROMOTION_TURNOVER_NOT_MET400Turnover requirement not met to claim this promotion

Refer-a-friend (61xx)

codeNameHTTPMessage
6101AFFILIATE_NOTHING_TO_CLAIM400No affiliate commission to claim
6102AFFILIATE_BELOW_MIN_CLAIM400Affiliate balance is below the minimum claim amount
6103AFFILIATE_NOT_ENABLED400Refer-a-friend program is not enabled

Lucky wheel (620x)

codeNameHTTPMessage
6201WHEEL_NOT_ENABLED400The lucky wheel is not enabled
6202WHEEL_NO_SPINS400You have no spins available
6203WHEEL_NOT_ELIGIBLE400The lucky wheel is not available for this account

Diamond shop (622x)

codeNameHTTPMessage
6221DIAMOND_NOT_ENABLED400Diamond program is not enabled or member not eligible
6222DIAMOND_INSUFFICIENT400Not enough diamonds to redeem
6223DIAMOND_ITEM_UNAVAILABLE400Diamond shop item is inactive or not found

Daily card (623x)

codeNameHTTPMessage
6231DAILY_CARD_NOT_ENABLED400The daily card game is not enabled
6232DAILY_CARD_NOT_ELIGIBLE400Today's minimum-deposit requirement is not met
6233DAILY_CARD_ALREADY_PLAYED400You already opened today's card (limit 1 per day)

System (9xxx)

codeNameHTTPMessage
9001INTERNAL_ERROR500Internal server error
9002SERVICE_UNAVAILABLE503Service unavailable
9003TOO_MANY_REQUESTS429Too many requests. Please slow down