Integration API

All API methods listed below are required for successful integration between Operators and Naga Games.

📘

Opening Game APIs should be called in a recommended order as below to properly open and play Naga Games.

MethodDescriptionStatusStepAPI Provided By
OPENING GAME API
Get All Available GamesOperators requests URLs of all available games from Naga GamesRequired1Naga Games
Opening GameOperators use provided game URLs to redirect players to Naga Games game serverRequired2Naga Games
Get consolidated Bet RecordsUsing this API, operators can obtain consolidated bet statistics of their players in 5 minutes intervals.OptionalNaga Games
SEAMLESS WALLET API
Authorize SEAMLESSIn order for players to play Naga Games games, operators authenticates players by secure tokenRequired3Operator
Get Bet StatusNaga Games calls this method to send Operator the betId of the bet. Operator then returns the status of that BetOptional_Operator
Place BetWhen players make a bet, Naga Games calls this method to validate the bet (checks if the player has enough funds and subtracts money from his/her balance)Required__Operator
PayoutNaga Games calls this method to send Operator the winning Amount of a bet. Operator then returns the updated balance.Required__Operator
Operator Cancel BetNaga Games calls this method to send Cancel Bet request to the Operator when Placebet request timeouts or Operator returns invalid Placebet responseRequired__Operator
Operator Get Player's BalanceNaga Games calls this method to get the balance player.Optional__Operator
BET HISTORY API
Get Player's Bet RecordsOperator sends a Bet History request to the Naga Games to get a list of bet records for 1 player in 1 game.Optional__Naga Games
Get 1 betID RecordOperator sends this request to the Naga Games to get 1 bet record by using a particular Bet ID.Optional__Naga Games
LOCK AND UNLOCK API
Lock PlayerOperator sends this request to Naga Games to lock player. Once the player is locked they cannot able to play the game.Optional__Naga Games
Unlock PlayerOperator sends this request to Naga Games to unlock player. Once the player is unlocked they can able to play the game again.Optional__Naga Games

Please refer to Diagrams for more details into opening game and playing game flows