BetSolutions Casino API

Welcome to the BetSolutions Casino API docs. Here you'll find comprehensive guide to help you start working with BetSolutions as quickly as possible. BetSolutions Casino Platform offers a two-way HTTP API with JSON as data format, to implement requests and responses for slots, single and multiplayer games and other casino platform services. The API has simple interface and is designed for easy integration process.

Introduction

All the data is returned as JSON.

All currencies in requests or responses are based on ISO 4217 - this means: 3 uppercase letters. Examples: USD, EUR, TRY

All countries in requests or responses are based on ISO 3166-1 alpha-2 - this means: 2 uppercase letters. Examples: US, GB, TR

All dates in requests must be in merchant's timezone and formated with: 'MM-dd-yyyy HH:mm:ss'.

All dates in responses are in merchant's timezone.

Supported languages: en-US, ka-GE, tr-TR, ru-RU.

There two modes for integration : seamless and transfer. For seamless mode you need to implement all functions except: Deposit (Transfer), Withdraw (Transfer) and Get Balance (Transfer). In case of transfer mode, you need to implement all functions except: Bet (Seamless), Win (Seamless), CancelBet (Seamless) and GetBalance (Seamless)

Hash is calculated with this function:

In case of seamless mode, slots use user's currency, 'Bet', 'Win', 'CancelBet' and 'GetBalance'(seamless) calls will contain user's currency. All other products will work in network's currency. 'Bet', 'Win', 'CancelBet' and 'GetBalance'(seamless) calls will contain network's currency.

In case of transfer mode, all products will work in network's currency. 'Deposit', 'Withdraw', 'GetBalance' calls will contain network's currency.

You can use our Casino SDK (nuget package) (composer package) (jar lib) to call our API.

1.1. Auth
In order to authenticate user, merchant must generate public token and redirect user to https://auth-staging.betsolutions.com/auth/auth with parameters listed below. This pubic token must be active during 1 minute on merchant side. All games on desktop devices must be opened in iframe, except table games.
Parameters
# Name Format Is Required Description
1 Token string Yes* (Not required when IsFreeplay = 1) Player's public token
2 MerchantId int Yes Merchant's unique identifier
3 Lang string Yes Player's language
4 GameId int Yes* Game Id (*not required in table games)
5 ProductId int Yes Product Id
6 IsFreeplay int (1 - yes, 0 - No) No* *Works only for slot games
7 Platform string Yes 'desktop' or 'mobile'
After that step, we will call Auth function, which will return private token. Most of further communication will happen with this private token.
You can use our gameStart library to open games. You must include gameStart library in your html and call Charismatic.Casino.GameStarter.startGame function with config object. parameters of the config object are listed below.
Start Game Config Parameters
# Name Format Is Required Description
1 Token string Yes* (Not required when IsFreeplay = 1) Player's public token
2 MerchantId int Yes Merchant's unique identifier
3 Lang string Yes Player's language
4 GameId int Yes* Game Id (*not required in table games)
5 ProductId int Yes Product Id
6 IsFreeplay int (1 - yes, 0 - No) No* *Works only for slot games
7 Platform string Yes 'desktop' or 'mobile'
8 IframeContainerId string Yes* (if gameOpenType is iframe) id of html element where iframe will be created
9 IframeId string Yes* (if GameOpenType is iframe) id of iframe which will be created
10 GameOpenType string (iframe or redirect) Yes Game Open Type
11 AuthUrl string Yes Auth website url
12 TableGamesLobbyPageId int (1 - cash, 2 - tournaments, 3 - missions, 4 - history) Yes* (if productId is 1) Table Games Lobby Page. Only Works if you pass gameId parameter.
13 WindowWidth int No Width of current window. Default is 1280.
14 ResizeWindow bool No If set true, Window will be resized and adjusted for game according to 'WindowWidth' parameter
Example of starting slot game
Example of starting table game

2. Methods

2.1. Auth
Http Method
POST
Url
{URL is defined by merchant}
Calculating hash
Parameters must be concatenated with this order: PublicToken, Key . Hash must be generated with SHA 256 algorithm.
Parameters
# Name Format Is Required Description
1 publicToken string Yes Public token
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 PrivateToken string Player's private token (on every request merchant must return new unique token)
2 StatusCode int StatusCode
2.2. Deposit
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/wallet/deposit
Calculating hash
Parameters must be concatenated with this order: Amount, Currency, MerchantId, TransactionId, Token, UserId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 Amount int Yes Amount of money
2 MerchantId int Yes Merchant's unique identifier
3 TransactionId string (50) Yes Merchant's unique identifier for transaction
4 Token string (100) Yes Player's private token (we will call "GetPlayerInfo" function with this token)
5 UserId string (100) Yes Player Id
6 Hash string Yes Hash
7 currency string93) Yes currency
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 TransactionId string (100) Transaction Id
3 Balance int Current Balance
2.3. Withdraw
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/wallet/withdraw
Calculating hash
Parameters must be concatenated with this order: Amount, Currency, MerchantId, TransactionId, Token, UserId, Key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 Amount int Yes Amount of money
2 MerchantId int Yes Merchant's unique identifier
3 TransactionId string (50) Yes Merchant's unique identifier for transaction
4 Token string (100) Yes Player's private token (we will call "GetPlayerInfo" function with this token)
5 UserId string (100) Yes Player Id
6 Hash string Yes Hash
7 Currency string (3) Yes Currency
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 TransactionId string (100) Transaction Id
3 Balance int Current Balance
2.4. Get Balance
Http Method
POST
Request content type
application/json
Url
{https://api-staging.betsolutions.com/v1/Wallet/GetBalance}}
Calculating hash
Parameters must be concatenated with this order: Currency, MerchantId, Token, UserId, Key . Hash must be generated with SHA 256.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant's unique identifier
4 Token string (100) Yes Player's private token (we will call "GetPlayerInfo" function with this token)
5 UserId string (100) Yes Player Id
6 Hash string Yes Hash
7 Currency string(3) Yes Currency
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Balance int Current Balance
2.5. Bet
Merchant must implement this function to make possible making bets
Http Method
POST
Url
{URL is defined by merchant}
Calculating hash
Parameters must be concatenated with this order: Amount, BetTypeId, CampaignId, CampaignName, Currency, GameId, ProductId, RoundId MerchantToken TransactionId Secret Key, . Hash must be generated with SHA 256.
Example of calculating hash
Parameters
# Name Format Is Required Description
1 token string (100) Yes Player's private token
2 amount int Yes amount of money
3 transactionId string (100) Yes Transaction Id
4 betTypeId int Yes Transaction type (See bet types below)
5 gameId int Yes Game Id
6 productId int Yes Product Id
7 roundId int (64) Yes Round Id
8 hash string Yes Hash
9 currency string (3) Yes Currency
10 campaignId int No Id of current campaign
11 campaignName string (500) No Name of current campaign
Bet Types
# BetTypeId Name Description
1 1 Normal Normal
1 2 FreeSpin FreeSpin
3 3 ReSpin ReSpin
4 16 Lock balance Lock balance
5 18 Tournament buy-in Tournament buy-in
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 TransactionId string (100) Transaction Id
3 CurrentBalance int Current Balance
2.6. Win
Merchant must implement this function to make possible making win requests
Http Method
POST
Url
{URL is defined by merchant}
Calculating hash
Parameters must be concatenated with this order: Amount, CampaignId, CampaignName, Currency, GameId, ProductId, RoundId MerchantToken TransactionId WinTypeId, Secret Key, . Hash must be generated with SHA 256.
Example of calculating hash
Parameters
# Name Format Is Required Description
1 token string (100) Yes Player's private token (in case of win you should not check if this token is active, you should check if it exists)
2 amount int Yes amount of money
3 transactionId string (100) Yes Transaction Id
4 winTypeId (see win types below) int Yes Transaction type
5 gameId int Yes Game Id
6 productId int Yes Product Id
7 roundId int (64) Yes Round Id
8 hash string Yes Hash
9 currency string (3) Yes Currency
10 campaignId int No Id of current campaign
11 campaignName string (500) No Name of current campaign
Win Types
# WinTypeId Name Description
1 1 Normal Normal
1 2 FreeSpin FreeSpin
3 3 ReSpin ReSpin
4 17 Unlock balance Unlock balance
5 19 Cancel Tournament buy-in Cancel Tournament buy-in
6 20 Tournament win Tournament win
7 41 Cancel bet Zeppelin Cancel bet
8 44 jackpot Zeppelin jackpot
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 TransactionId string (100) Transaction Id
3 CurrentBalance int Current Balance
2.7. Cancel Bet
Merchant must implement this function to make possible cancelling bets
Http Method
POST
Url
{URL is defined by merchant}
Calculating hash
Parameters must be concatenated with this order: Amount, BetTransactionId, BetTypeId, Currency, GameId, ProductId, RoundId MerchantToken TransactionId Secret Key, . Hash must be generated with SHA 256.
Example of calculating hash
Parameters
# Name Format Is Required Description
1 token string (100) Yes Player's private token (in case of cancelbet you should not check if this token is active, you should check if it exists)
2 amount int Yes amount of money
3 transactionId string (100) Yes Transaction Id
4 betTypeId int Yes Transaction type
5 gameId int Yes Game Id
6 productId int Yes Product Id
7 roundId int (64) Yes Round Id
8 hash string Yes Hash
9 currency string (3) Yes Currency
10 betTransactionId string (100) Yes Bet transaction id
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 TransactionId string (100) Transaction Id
3 CurrentBalance int Current Balance
2.8. Get Balance
Merchant must implement this function to make possible getting user balance
Http Method
POST
Url
{URL is defined by merchant}
Calculating hash
Parameters must be concatenated with this order: Currency, GameId, ProductId, MerchantToken, Secret Key, . Hash must be generated with SHA 256.
Example of calculating hash
Parameters
# Name Format Is Required Description
1 token string (100) Yes Player's private token
2 gameId int Yes Game Id
3 productId int Yes Product Id
4 hash string Yes Hash
5 currency string (3) Yes Currency
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 CurrentBalance int Current Balance
2.9. Get Player Info
Merchant must implement this function to make possible getting user information
Http Method
POST
Url
{URL is defined by merchant}
Calculating hash
Parameters must be concatenated with this order: MerchantToken, Secret Key, . Hash must be generated with SHA 256.
Example of calculating hash
Parameters
# Name Format Is Required Description
1 token string (100) Yes Player's private token
2 hash string Yes Hash
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 UserId string (100) User id in merchant's system
3 UserName string (100) Username in merchant's system'
4 FirstName string (100) FirstName of player
5 LastName string (100) LastName of player
6 Email string (100) Email of player
7 CountryCode string (2) Country Code
8 CountryName string (100) Country Name
9 Gender int (1 -> male, 2 -> female)
10 Currency string (3) Currency
11 CurrentBalance int Current Balance
2.10. Get Rake
Http Method
POST
Request content type
application/json
Url
{https://api-staging.betsolutions.com/v1/Rake/GetRake}}
Calculating hash
Parameters must be concatenated with this order: MerchantId, UserId, FromDate, ToDate, GameId, Key . Hash must be generated with SHA 256.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant's unique identifier
5 FromDate date No From Date
5 ToDate date No To Date
5 GameId int No GameId
5 UserId string (100) No Player Id
6 Hash string Yes Hash
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 RakeData array Array of rake data
3 RakeData.Amount int Rake amount for player
3 RakeData.PlayerId int Player id
3 RakeData.MerchantPlayerId string Player id in merchant's system
3 RakeData.Date date (MM-dd-yyyy) Date
2.10. Get Game List
Games
Name Game Id Product Product Id
Underground Tuning 1 SLOTS 2
Captain Of Pirates 2 SLOTS 2
The Mystery of Faberge 3 SLOTS 2
Drunk santa 4 SLOTS 2
Legend of Maasai 5 SLOTS 2
BettingShop 6 SLOTS 2
PokerRoom 7 SLOTS 2
Backgammon 5000 TABLE GAMES 1
Okey 5001 TABLE GAMES 1
Bura 5002 TABLE GAMES 1
Dominoes 5003 TABLE GAMES 1
seka 5004 TABLE GAMES 1
High low 7000 PROVABLY FAIR 3
Zeppelin 7001 PROVABLY FAIR 3
Dice 7002 PROVABLY FAIR 3
Http Method
POST
Request content type
application/json
Url
{https://api-staging.betsolutions.com/v1/Game/GetGameList}}
Calculating hash
Parameters must be concatenated with this order: MerchantId, Key . Hash must be generated with SHA 256.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant's unique identifier
2 Hash string Yes Hash
Failed response example (json)
Successful response example (json)
3.1. createCampaign
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/CreateSlotCampaign
Calculating hash
Parameters must be concatenated with this order: CampaignTypeId, EndDate, StartDate, FreespinCount, GameId, MerchantId, Name, BetAmountsPerCurrency, PlayerIds, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 CampaignTypeId int Yes Campaign Type
2 EndDate date Yes End Date
3 StartDate date Yes End Date
4 FreespinCount int Yes Freespin Count Per Player
5 GameId int Yes Slot id
6 MerchantId int Yes Merchant Id
7 Name string (min length: 10, max length: 500) Yes Campaign name
8 BetAmountsPerCurrency.CoinCount int (from 1 to 5) Yes Coin count
9 BetAmountsPerCurrency.CoinValueId int Yes Coin value id
10 BetAmountsPerCurrency.Currency string (3) Yes Currency
11 PlayerIds string Array Yes Player ids
12 AddNewlyRegisteredPlayers bool No (default: false) Add Newly Registered Players
13 Hash string Yes Hash
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 CampaignId int Id of the created campaign
3.2. Deactivate Campaign
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/DeactivateSlotCampaign
Calculating hash
Parameters must be concatenated with this order: MerchantId, Id, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 Id int Yes Campaign id
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
3.3. get Merchant Slot Configs
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/GetMerchantSlotConfigs
Calculating hash
Parameters must be concatenated with this order: MerchantId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.SlotConfigs.Id int CoinValueId
3 Data.SlotConfigs.SlotId int Slot Id
4 Data.SlotConfigs.MerchantId int Merchant Id
5 Data.SlotConfigs.CoinValue int Coin Value
6 Data.SlotConfigs.Currency string (3) Currency
7 Data.SlotConfigs.Lines int Number of lines
8 Data.SlotConfigs.LineMultiplier int Multiplier for calculating bet
3.4. get Campaigns
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/GetSlotCampaigns
Calculating hash
Parameters must be concatenated with this order: MerchantId, CampaignId, EndDateFrom, EndDateTo, StartDateFrom, StartDateTo, StatusId, GameId, Name, OrderingDirection, OrderingField, PageIndex, PageSize, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 CampaignId int No Campaign Id
3 EndDateFrom date No EndDateFrom
4 EndDateTo date No EndDateTo
5 StartDateFrom date No StartDateFrom
6 StartDateTo date No StartDateTo
7 StatusId int No Status Id
8 GameId int No GameId
9 Name string No Campaign name
10 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
11 OrderingField string no Ordering Field, values: 'id', 'CampaignTypeId', 'GameId', 'StatusId'
12 PageIndex int Yes Current Page Index
13 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.SlotCampaignsPagingResult.TotalCount int Total campaigns count
3 Data.SlotCampaignsPagingResult.Campaigns.Id int CampaignId
4 Data.SlotCampaignsPagingResult.Campaigns.Name string Name
5 Data.SlotCampaignsPagingResult.Campaigns.StartDate string StartDate
6 Data.SlotCampaignsPagingResult.Campaigns.EndDate string EndDate
7 Data.SlotCampaignsPagingResult.Campaigns.GameId int GameId
8 Data.SlotCampaignsPagingResult.Campaigns.CampaignTypeId int CampaignTypeId
9 Data.SlotCampaignsPagingResult.Campaigns.FreespinCount int Freespin Count Per player
10 Data.SlotCampaignsPagingResult.Campaigns.StatusId int StatusId
11 Data.SlotCampaignsPagingResult.Campaigns.MerchantId int MerchantId
12 Data.SlotCampaignsPagingResult.Campaigns.PlayerCount int Player Count
13 Data.SlotCampaignsPagingResult.Campaigns.FilteredCount int Filtered Count
3.5. get Slot Campaign Statuses
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/GetSlotCampaignStatuses
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.SlotCampaignStatuses.Id int Campaign Status id
3 Data.SlotCampaignStatuses.Name string Campaign status name
3.6. get Slot Campaign Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/GetSlotCampaignTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.SlotCampaignTypes.Id int Campaign Type id
3 Data.SlotCampaignTypes.Name string Campaign type name
3.7. add Players To Campaign
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/slotCampaign/AddPlayersToCampaign
Calculating hash
Parameters must be concatenated with this order: CampaignId, MerchantId, PlayerIds, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 CampaignId int Yes Campaign Id
2 MerchantId int Yes Merchant Id
11 PlayerIds string Array Yes Player ids
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
4.1.1 get Tournaments
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BackgammonTournament/GetTournaments
Calculating hash
Parameters must be concatenated with this order: MerchantId, EndDateTo, EndDateFrom, GameTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, StartDateFrom, StartDateTo, TournamentTypeId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 GameTypeId int No Game Type Id
3 EndDateFrom date No EndDateFrom
4 EndDateTo date No EndDateTo
5 StartDateFrom date No StartDateFrom
6 StartDateTo date No StartDateTo
7 TournamentTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'TournamentTypeId', 'GameTypeId', 'StatusId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Tournaments.Id int Tournament id
4 Data.Tournaments.BetAmount decimal BetAmount
5 Data.Tournaments.StartDate string (nullable) StartDate
6 Data.Tournaments.EndDate string (nullable) EndDate
7 Data.Tournaments.GameTypeId int GameTypeId
8 Data.Tournaments.IsHidden bool IsHidden
9 Data.Tournaments.Prize decimal Prize
10 Data.Tournaments.StatusId int StatusId
11 Data.Tournaments.MerchantId int MerchantId
12 Data.Tournaments.RegisteredPlayerCount int Registered Player Count
13 Data.Tournaments.CreateDate string CreateDate
14 Data.Tournaments.FilteredCount int Filtered Count
15 Data.Tournaments.FinalPoint int Final Round Point
16 Data.Tournaments.Prizes.Id int index of winner's prize
17 Data.Tournaments.Prizes.Percent decimal percent of winner's prize
18 Data.Tournaments.Translations.Name string Name
19 Data.Tournaments.Translations.Lang string Language
20 Data.Tournaments.IsNetwork bool Is Network Tournament
21 Data.Tournaments.MaxPlayerCount int MaxPlayerCount
21 Data.Tournaments.MinPlayerCount int MinPlayerCount
4.1.2 get Backgammon Tournament Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BackgammonTournament/GetTournamentTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Type Id
3 Data.Name string Tournament Type name
4.1.3 get Backgammon Tournament Statuses
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BackgammonTournament/GetTournamentStatuses
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Status Id
3 Data.Name string Tournament Status name
4.1.2 get Backgammon Game Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BackgammonGame/GetGameTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Game Type Id
3 Data.Name string Game Type name
4.1.5 get Achievements
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BackgammonAchievement/GetAchievements
Calculating hash
Parameters must be concatenated with this order: MerchantId, AchievementTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
7 AchievementTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'AchievementTypeId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Achievements.Id int Achievement id
4 Data.Achievements.CreateDate string Achievement CreateDate
5 Data.Achievements.AchievementTypeId int Achievement type id
6 Data.Achievements.Count int Count
7 Data.Achievements.MinRank int Min Rank
8 Data.Achievements.Prize decimal Prize
9 Data.Achievements.IsActive bool IsActive
10 Data.Achievements.FilteredCount int FilteredCount
11 Data.Achievements.IsNetwork bool IsNetwork
12 Data.Achievements.Translations.Name string Name
13 Data.Achievements.Translations.Description string Description
14 Data.Achievements.Translations.Lang string Language
15 Data.Achievements.Dice1 int (nullable) Dice1
16 Data.Achievements.Dice2 int (nullable) Dice2
4.1.6 get Backgammon Achievement Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BackgammonAchievement/GetAchievementTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Achievement Type Id
3 Data.Name string Achievement Type name
4.2.1 get Tournaments
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BuraTournament/GetTournaments
Calculating hash
Parameters must be concatenated with this order: MerchantId, EndDateTo, EndDateFrom, GameTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, StartDateFrom, StartDateTo, TournamentTypeId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 GameTypeId int No Game Type Id
3 EndDateFrom date No EndDateFrom
4 EndDateTo date No EndDateTo
5 StartDateFrom date No StartDateFrom
6 StartDateTo date No StartDateTo
7 TournamentTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'TournamentTypeId', 'GameTypeId', 'StatusId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Tournaments.Id int Tournament id
4 Data.Tournaments.BetAmount decimal BetAmount
5 Data.Tournaments.StartDate string (nullable) StartDate
6 Data.Tournaments.EndDate string (nullable) EndDate
7 Data.Tournaments.GameTypeId int GameTypeId
8 Data.Tournaments.IsHidden bool IsHidden
9 Data.Tournaments.Prize decimal Prize
10 Data.Tournaments.StatusId int StatusId
11 Data.Tournaments.MerchantId int MerchantId
12 Data.Tournaments.RegisteredPlayerCount int Registered Player Count
13 Data.Tournaments.CreateDate string CreateDate
14 Data.Tournaments.FilteredCount int Filtered Count
15 Data.Tournaments.FinalPoint int Final Round Point
16 Data.Tournaments.Prizes.Id int index of winner's prize
17 Data.Tournaments.Prizes.Percent decimal percent of winner's prize
18 Data.Tournaments.Translations.Name string Name
19 Data.Tournaments.Translations.Lang string Language
20 Data.Tournaments.IsNetwork bool Is Network Tournament
21 Data.Tournaments.MaxPlayerCount int MaxPlayerCount
21 Data.Tournaments.MinPlayerCount int MinPlayerCount
22 Data.Tournaments.HasRoyalRule bool Has Royal Rule
23 Data.Tournaments.HasMolodkaRule bool Has Molodka Rule
4.2.2 get Bura Tournament Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BuraTournament/GetTournamentTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Type Id
3 Data.Name string Tournament Type name
4.2.3 get Bura Tournament Statuses
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BuraTournament/GetTournamentStatuses
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Status Id
3 Data.Name string Tournament Status name
4.2.2 get Bura Game Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BuraGame/GetGameTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Game Type Id
3 Data.Name string Game Type name
4.2.5 get Achievements
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BuraAchievement/GetAchievements
Calculating hash
Parameters must be concatenated with this order: MerchantId, AchievementTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
7 AchievementTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'AchievementTypeId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Achievements.Id int Achievement id
4 Data.Achievements.CreateDate string Achievement CreateDate
5 Data.Achievements.AchievementTypeId int Achievement type id
6 Data.Achievements.Count int Count
7 Data.Achievements.MinRank int Min Rank
8 Data.Achievements.Prize decimal Prize
9 Data.Achievements.IsActive bool IsActive
10 Data.Achievements.FilteredCount int FilteredCount
11 Data.Achievements.IsNetwork bool IsNetwork
12 Data.Achievements.Translations.Name string Name
13 Data.Achievements.Translations.Description string Description
14 Data.Achievements.Translations.Lang string Language
4.2.6 get Bura Achievement Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/BuraAchievement/GetAchievementTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Achievement Type Id
3 Data.Name string Achievement Type name
4.3.1 get Tournaments
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/OkeyTournament/GetTournaments
Calculating hash
Parameters must be concatenated with this order: MerchantId, EndDateTo, EndDateFrom, GameTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, StartDateFrom, StartDateTo, TournamentTypeId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 GameTypeId int No Game Type Id
3 EndDateFrom date No EndDateFrom
4 EndDateTo date No EndDateTo
5 StartDateFrom date No StartDateFrom
6 StartDateTo date No StartDateTo
7 TournamentTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'TournamentTypeId', 'GameTypeId', 'StatusId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Tournaments.Id int Tournament id
4 Data.Tournaments.BetAmount decimal BetAmount
5 Data.Tournaments.StartDate string (nullable) StartDate
6 Data.Tournaments.EndDate string (nullable) EndDate
7 Data.Tournaments.GameTypeId int GameTypeId
8 Data.Tournaments.IsHidden bool IsHidden
9 Data.Tournaments.Prize decimal Prize
10 Data.Tournaments.StatusId int StatusId
11 Data.Tournaments.MerchantId int MerchantId
12 Data.Tournaments.RegisteredPlayerCount int Registered Player Count
13 Data.Tournaments.CreateDate string CreateDate
14 Data.Tournaments.FilteredCount int Filtered Count
15 Data.Tournaments.FinalPoint int Final Round Point
16 Data.Tournaments.Prizes.Id int index of winner's prize
17 Data.Tournaments.Prizes.Percent decimal percent of winner's prize
18 Data.Tournaments.Translations.Name string Name
19 Data.Tournaments.Translations.Lang string Language
20 Data.Tournaments.IsNetwork bool Is Network Tournament
21 Data.Tournaments.MaxPlayerCount int MaxPlayerCount
21 Data.Tournaments.MinPlayerCount int MinPlayerCount
4.3.2 get Okey Tournament Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/OkeyTournament/GetTournamentTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Type Id
3 Data.Name string Tournament Type name
4.3.3 get Okey Tournament Statuses
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/OkeyTournament/GetTournamentStatuses
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Status Id
3 Data.Name string Tournament Status name
4.3.2 get Okey Game Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/OkeyGame/GetGameTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Game Type Id
3 Data.Name string Game Type name
4.3.5 get Achievements
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/OkeyAchievement/GetAchievements
Calculating hash
Parameters must be concatenated with this order: MerchantId, AchievementTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
7 AchievementTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'AchievementTypeId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Achievements.Id int Achievement id
4 Data.Achievements.CreateDate string Achievement CreateDate
5 Data.Achievements.AchievementTypeId int Achievement type id
6 Data.Achievements.Count int Count
7 Data.Achievements.MinRank int Min Rank
8 Data.Achievements.Prize decimal Prize
9 Data.Achievements.IsActive bool IsActive
10 Data.Achievements.FilteredCount int FilteredCount
11 Data.Achievements.IsNetwork bool IsNetwork
12 Data.Achievements.Translations.Name string Name
13 Data.Achievements.Translations.Description string Description
14 Data.Achievements.Translations.Lang string Language
4.3.6 get Okey Achievement Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/OkeyAchievement/GetAchievementTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Achievement Type Id
3 Data.Name string Achievement Type name
4.4.1 get Tournaments
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/DominoTournament/GetTournaments
Calculating hash
Parameters must be concatenated with this order: MerchantId, EndDateTo, EndDateFrom, GameTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, StartDateFrom, StartDateTo, TournamentTypeId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 GameTypeId int No Game Type Id
3 EndDateFrom date No EndDateFrom
4 EndDateTo date No EndDateTo
5 StartDateFrom date No StartDateFrom
6 StartDateTo date No StartDateTo
7 TournamentTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'TournamentTypeId', 'GameTypeId', 'StatusId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Tournaments.Id int Tournament id
4 Data.Tournaments.BetAmount decimal BetAmount
5 Data.Tournaments.StartDate string (nullable) StartDate
6 Data.Tournaments.EndDate string (nullable) EndDate
7 Data.Tournaments.GameTypeId int GameTypeId
8 Data.Tournaments.IsHidden bool IsHidden
9 Data.Tournaments.Prize decimal Prize
10 Data.Tournaments.StatusId int StatusId
11 Data.Tournaments.MerchantId int MerchantId
12 Data.Tournaments.RegisteredPlayerCount int Registered Player Count
13 Data.Tournaments.CreateDate string CreateDate
14 Data.Tournaments.FilteredCount int Filtered Count
15 Data.Tournaments.FinalPoint int Final Round Point
16 Data.Tournaments.Prizes.Id int index of winner's prize
17 Data.Tournaments.Prizes.Percent decimal percent of winner's prize
18 Data.Tournaments.Translations.Name string Name
19 Data.Tournaments.Translations.Lang string Language
20 Data.Tournaments.IsNetwork bool Is Network Tournament
21 Data.Tournaments.MaxPlayerCount int MaxPlayerCount
21 Data.Tournaments.MinPlayerCount int MinPlayerCount
4.4.2 get Domino Tournament Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/DominoTournament/GetTournamentTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Type Id
3 Data.Name string Tournament Type name
4.4.3 get Domino Tournament Statuses
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/DominoTournament/GetTournamentStatuses
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Status Id
3 Data.Name string Tournament Status name
4.4.2 get Domino Game Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/DominoGame/GetGameTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Game Type Id
3 Data.Name string Game Type name
4.4.5 get Achievements
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/DominoAchievement/GetAchievements
Calculating hash
Parameters must be concatenated with this order: MerchantId, AchievementTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
7 AchievementTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'AchievementTypeId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Achievements.Id int Achievement id
4 Data.Achievements.CreateDate string Achievement CreateDate
5 Data.Achievements.AchievementTypeId int Achievement type id
6 Data.Achievements.Count int Count
7 Data.Achievements.MinRank int Min Rank
8 Data.Achievements.Prize decimal Prize
9 Data.Achievements.IsActive bool IsActive
10 Data.Achievements.FilteredCount int FilteredCount
11 Data.Achievements.IsNetwork bool IsNetwork
12 Data.Achievements.Translations.Name string Name
13 Data.Achievements.Translations.Description string Description
14 Data.Achievements.Translations.Lang string Language
4.4.6 get Domino Achievement Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/DominoAchievement/GetAchievementTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Achievement Type Id
3 Data.Name string Achievement Type name
4.5.1 get Tournaments
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/SekaTournament/GetTournaments
Calculating hash
Parameters must be concatenated with this order: MerchantId, EndDateTo, EndDateFrom, GameTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, StartDateFrom, StartDateTo, TournamentTypeId, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
2 GameTypeId int No Game Type Id
3 EndDateFrom date No EndDateFrom
4 EndDateTo date No EndDateTo
5 StartDateFrom date No StartDateFrom
6 StartDateTo date No StartDateTo
7 TournamentTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'TournamentTypeId', 'GameTypeId', 'StatusId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Tournaments.Id int Tournament id
4 Data.Tournaments.BetAmount decimal BetAmount
5 Data.Tournaments.StartDate string (nullable) StartDate
6 Data.Tournaments.EndDate string (nullable) EndDate
7 Data.Tournaments.GameTypeId int GameTypeId
8 Data.Tournaments.IsHidden bool IsHidden
9 Data.Tournaments.Prize decimal Prize
10 Data.Tournaments.StatusId int StatusId
11 Data.Tournaments.MerchantId int MerchantId
12 Data.Tournaments.RegisteredPlayerCount int Registered Player Count
13 Data.Tournaments.CreateDate string CreateDate
14 Data.Tournaments.FilteredCount int Filtered Count
15 Data.Tournaments.FinalPoint int Final Round Point
16 Data.Tournaments.Prizes.Id int index of winner's prize
17 Data.Tournaments.Prizes.Percent decimal percent of winner's prize
18 Data.Tournaments.Translations.Name string Name
19 Data.Tournaments.Translations.Lang string Language
20 Data.Tournaments.IsNetwork bool Is Network Tournament
21 Data.Tournaments.MaxPlayerCount int MaxPlayerCount
21 Data.Tournaments.MinPlayerCount int MinPlayerCount
22 Data.Tournaments.WithRebuy bool With Rebuy
22 Data.Tournaments.RebuyMaxLevel int Rebuy Max Level
4.5.2 get Seka Tournament Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/SekaTournament/GetTournamentTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Type Id
3 Data.Name string Tournament Type name
4.5.3 get Seka Tournament Statuses
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/SekaTournament/GetTournamentStatuses
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Tournament Status Id
3 Data.Name string Tournament Status name
4.5.2 get Seka Game Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/SekaGame/GetGameTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Game Type Id
3 Data.Name string Game Type name
4.5.5 get Achievements
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/SekaAchievement/GetAchievements
Calculating hash
Parameters must be concatenated with this order: MerchantId, AchievementTypeId, OrderingDirection, OrderingField, PageIndex, PageSize, key . Hash must be generated with SHA 256 algorithm.
Example of calculating hash and making request
Parameters
# Name Format Is Required Description
1 MerchantId int Yes Merchant Id
7 AchievementTypeId int No Type Id
8 OrderingDirection string no Ordering Direction, values: 'ASC', 'DESC'
9 OrderingField string no Ordering Field, values: 'id', 'AchievementTypeId'
10 PageIndex int Yes Current Page Index
11 PageSize int Yes Page Size
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.TotalCount int Total tournament count
3 Data.Achievements.Id int Achievement id
4 Data.Achievements.CreateDate string Achievement CreateDate
5 Data.Achievements.AchievementTypeId int Achievement type id
6 Data.Achievements.Count int Count
7 Data.Achievements.MinRank int Min Rank
8 Data.Achievements.Prize decimal Prize
9 Data.Achievements.IsActive bool IsActive
10 Data.Achievements.FilteredCount int FilteredCount
11 Data.Achievements.IsNetwork bool IsNetwork
12 Data.Achievements.Translations.Name string Name
13 Data.Achievements.Translations.Description string Description
14 Data.Achievements.Translations.Lang string Language
15 Data.Achievements.Card int (nullable) Card
4.5.6 get Seka Achievement Types
Http Method
POST
Request content type
application/json
Url
https://api-staging.betsolutions.com/v1/SekaAchievement/GetAchievementTypes
Example of calculating hash and making request
Failed response example (json)
Successful response example (json)
Response Parameters
# Name Format Description
1 StatusCode int StatusCode
2 Data.Id int Achievement Type Id
3 Data.Name string Achievement Type name

4. Status codes

Status Codes List
# Status Code Description
1 200 Success
2 201 Already Processed Transaction (should be used in win and cancelbet methods)
3 401 Inactive Token
4 402 Insufficient Balance
5 403 Invalid Hash
6 404 Invalid Token
7 405 Transfer Limit
8 406 User Not Found
9 407 Invalid Amount
10 408 Duplicated TransactionId (should be used in bet, deposit and withdraw methods)
11 409 Session Expired
12 410 Invalid Currency
13 411 Invalid Request
14 412 Invalid Ip
15 500 General Error