graph LR
GAMES[Games]:::GAME_STYLE
GAME_PROVIDER[Game Provider]:::GAME_STYLE
BRIDGE{Atlas RGS}:::ATLAS_STYLE
OPERATOR_API[Operator API]:::CASINO_STYLE
GAMES -.- GAME_PROVIDER
GAME_PROVIDER -- General Game Provider API --- BRIDGE
BRIDGE <-.- OPERATOR_API
The General Game Provider API is an API to connect games to the Atlas RGS.
The API consists out of two parts.
- General Game Provider Service API
- General Game Provider Operator API
General Game Provider Service API
The General Game Provider Service API has to be implemented by the game provider and is used by Atlas RGS.
graph RL
GAME_PROVIDER[Game Provider]:::GAME_STYLE
BRIDGE{Atlas RGS}:::ATLAS_STYLE
BRIDGE -- General Game Provider Service API --> GAME_PROVIDER
Game Entry
The General Game Provider Service API implements an endpoint that initiates the launch of one of the game provider’s games.
History
The General Game Provider Service API implements an endpoint that serves a web page with the player’s history for a game.
Voucher - Optional
An operator can gift vouchers to a player. Vouchers are tied to a specific game. If a game is played with an active voucher, then for a number of spins, the bet will be paid by the operator, instead of the player.
Using the General Game Provider Service API, vouchers can be added, cancelled, or a list of existing vouchers can be retrieved.
General Game Provider Operator API
The General Game Provider Operator API is implemented in the Atlas RGS and has to be used by the game provider.
graph LR
GAME_PROVIDER[Game Provider]:::GAME_STYLE
BRIDGE{Atlas RGS}:::ATLAS_STYLE
GAME_PROVIDER -- General Game Provider Operator API --> BRIDGE
Wallet
The wallet endpoints allow a game provider to initiate various actions of a player’s wallet, such as placing a bet, booking a win, and requesting a player’s current balance.
Authentification
The authorization is secured by the hmac-sha-256 algorithm. The value is sent base64 encoded as auth property. A static secret is shared between the RGS and the operator and is used to salt the request token. The token and the auth properties are sent on each request.
Sample
| Variable | Content |
|---|---|
| token | d2be60f7-d8da-4ab3-b527-f0a033ee08ce |
| secret | specialSecret |
| resulting auth | 3/zfPpq8jHHpfQOME8/rvJw8oIFTCk2RCIZRZ/u7m1s= |