UpdatePassword() API

This API request enables the operator to update the password of the player in DG system. UpdatePassword() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/player/update-password/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”,”username”: “test_username”,”password”: “passt84fas28″,”new_password”: “newPassw0rd”,} Parameters Type Description api_key String API Key allocated to each front-end username String Username of the player […]

PlayerBets() API

This API request enables the operator to get summarised betting activity for a player in a given period. PlayerBets() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/player/player-bets/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”,”username”: “test_username”,”start_date”: “2020-02-20″,”end_date”: “2020-02-21″,”amount_type”: “real”,} Parameters Type Description api_key String API Key allocated to each front-end username String Username […]

GrantBonus() API

This API request enables the operator to grant bonus free spins (promotional free spins) to the player. GrantBonus() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/wallet/grant-bonus/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “15OY0Rx1BC0hYbCm”,”amount_type”: “promo_freespin”,”campaign_id”: “BOn-3″,”game_ids”: [1032,1041],”coin_value_level”: 1,”num_rounds”:10,”player_ids”:[“267″],”currencies”: [“USD”],”start_date”:”2021-01-19 14:00:00″,”end_date”:”2021-01-30 15:00:00″,”max_win_limit”:0,} Parameters Type Description api_key String API Key allocated to each front-end amount_type […]

GetGames() API

This API request allows the operator to receive a full list of our games which are enabled for their particular front-end. If no games are enabled, the response would return as “empty”. GetGames() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/games/get-games/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”} Parameters Type Description api_key […]

GetBalance() API

This API request enables the operator to get the available balance of a player. GetBalance() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/get_balance Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“token”: “3c2ef39d02581e2db3ddf6c713e83e05″,”account_id”: “123123”} Parameters Type Description token String Unique string assigned to each player account_id String Account ID of the player GetBalance() Response + […]

GameHistoryAllPlayers() API

This API request enables the operator to get the game history of all the players for a given time period. For now, RGS API sends up to 30 minutes of data per request. GameHistoryAllPlayers() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/games/game-history-all-players/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”,”amount_type”: “real”,”start_date”: “2020-05-26 13:30:00″,”end_date”: […]

GameHistory() API

This API request enables the operator to get history of recent 100 game rounds played with real cash mode by default. GameHistory() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/games/game-history/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”,”player_id”: “1002”,”amount_type”: “real”,”start_date”: “2020-02-20 00:00:00″,”end_date”: “2020-02-21 00:00:00″,”page_num”: 1,} Parameters Type Description api_key String API Key allocated […]

GameExit() API

Operator makes ExitGame() API request to RGS API to exit the player from the game. RGS API deletes the session ID of the player that was created earlier in DG back-end. GameExit() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/games/game-exit/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”,”username”: “test_username”,} Parameters Type Description api_key […]

EnterGame() API

Operator needs to make EnterGame() API request to RGS API which allows the player to enter the game. RGS API validates player’s credentials, creates and registers session ID (token) at DG back-end, builds the launch URL and sends it back to the caller. EnterGame() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/games/enter-game/ Headers “Content-Type”: […]

CreatePlayer() API

This API request enables the operator to register a player in DG system. Password sent in POST parameters by the operator must be encrypted. CreatePlayer() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/v1/player/create-player/ Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{“api_key”: “1pghjl4v5apt2bks”,”player_id”: “1025”,”username”: “test_username”,”password”: “passt84fas28″,”currency”: “GBP”,”country”: “HK”,} Parameters Type Description api_key String API Key […]