Introduction

As a game provider, our objective is to deliver exceptional games and experiences to our customers and their players. We would like to see this translate into you integrating our games onto your casino lobby. This document provides an insight into our API, known as “Chronos”. It addresses the key interactions and requirements from both […]

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 […]

GetSession() API

Any Request parameters that are part of this API request would be provided with a token / session_id, typically a unique string assigned to each player. This response would contain information from the given session_id, such as player’s account ID, username / alias, first name last name etc. GetSession() Request Type Input HTTP Method POST […]

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

The parameters of this API request would be token / session_id and the player’s account ID. The response would contain the details of player balance. GetBalance() Request Type Input HTTP Method POST API URL Provided by Operator Headers “Content-Type”: “application/json” POST Parameters json object e.g.: {“token”: “3c2ef39d02581e2db3ddf6c713e83e05″,”account_id”: “123123”} Parameters Type Description token String Unique string […]

GameLaunch() API

Operator needs to make GameLaunch() API request to RGS API to get game launch URL. Though game launch URL would have been sent already in GetGames() API call response, it allows RGS API to register the session, builds the launch URL and sends it back to the caller. GameLaunch() Request Type Input HTTP Method POST […]

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 […]

Error Handling + Error Codes

Operators should send the error response in the following format and data: Error Response + Example Object/Key in Response Object Type Description status Integer 1 Indicates FAIL, 0 indicates SUCCESS, error_id Integer Error ID error_code Integer Error code error_message String Optional. Human readable error message List of common errors codes and messages for all POST […]

Debit() API

This API request debits a currency amount from a player’s balance. This is triggered every time a player plays a game. The response would contain information and details of any debited amounts. Debit() Request Type Input HTTP Method POST API URL https://<API_BASE_URL>/debit Headers “Content-Type”: “application/json” POST Parameters json object e.g.:{    “token”: “cc918a3e4dea45ef5c31d6e3b9dce4afed3c02eb”,    “account_id”: “259823”,    “amount”: 100,    “amount_type”: “real”,    “currency”: “GBP”,    “game_id”: 1,    “transaction_id”: “123456”,    “round_id”: 198909,    “game_type”: “slots”,    “game_name”: “testgamename”,    “note”: “debit”,    “bonus_id”: “test2147hff”} Parameters Type Description token String […]