Skip to content

Error codes

In order to inform our system about particular error, you should respond with HTTP status code 400 and the following body:

json
{
  "code": 7,
  "message": "Not enough money"
}

The message field contains arbitrary error description. Our backend logic relies only on the code field value.

General errors

CodeDescription
1Request signature is invalid
3An invalid token
The user will be requested to re-login
4The token is out of date
The user will be requested to re-login
5A request data validation error
100System error. This error triggers the Rollback

Place bet errors

This error codes will be respected only for place bet requests.

CodeDescription
7Not enough money
8The bet has already been processed
9The user is blocked
10Request timeout on partner system.

If you respond with error code 100 the Rollback will be triggered. All other HTTP status codes except 200 and 400 will also trigger the Rollback.

Self-exclusion errors

This error codes will be respected only for place bet requests.

If your product offers self-exclusion program, you can use the following error codes:

CodeDescription
11The user’s stake limit has been reached
12The user loss limit has been reached
13The bet count limit has been reached
14The user is self-excluded
15The user is not verified
16The user is not old enough

Settle errors

This error codes will be respected only for settle requests.

CodeDescription
20The transaction recalculation is blocked
This error will forbid us to change the result of previously settled bet
21Recalculation is blocked due to insufficient amount of money on the balance
Error, with which the partner will respond to the recalculation if the balance goes negative