Basic game flow

This page will explain the basic usage of the wallet API.

During the "launch" of a game, the game-supplier will have received a short-lived token called "gameSessionToken" (likely along with many other details, such as the gameId and such) from Socino, which in turn is used for creating the game session through the endpoint Authenticate.

API Endpoint

Description

Authenticate

Called by the game-supplier on game startup/load to get the "gameSessionId", which is used for Balance, Bet, and Win

Balance

Called by the game-supplier when they need to know the current balance of a player.

Bet

Called by the game-supplier when they want to create a bet.

Win

Called by the game-supplier when they want to pay out winnings of any kind (Spin, jackpot, etc).

Refund

Called by the game-supplier to refund a bet.

Pseudo flow example(s)

1182

Slotmachine flow example