📄️ Introduction
Games Integration
📄️ /playerInfo
This method should be called in order to get player details (including balance) by externalToken passed to game client.
📄️ /bet
Once player details received and game client rendered - game engine can call /bet in order to commit player bet transaction.
📄️ /win
When there is a game result provider will call /win in order to commit win transaction.
📄️ /cancel
For revoking bet transaction call /cancel.
📄️ /tournamentWin
When player gains a tournament win, game provider can call /tournamentWin in order to commit corresponding win transaction.
📄️ /promoWin
When the provider needs to grant a player with promo wins, there is a /promoWin call available to commit such transactions.
📄️ /generateNewToken
When the provider needs to change the game through the lobby, there is a /generateNewToken call available to get new token for openning that game.
📄️ Error Handling
In case of errors platform should respond with json containing details on error.