You build and test your integration on the trial environment, with the trial credentials you receive after the request described in Requirements. The trial environment covers what an integration needs: the list of games, the game launch, the seamless wallet requests and the automated tests.

Some features described in this documentation are not available in the trial environment yet, and a few behave differently there. They are listed below, and each affected article carries a note. A feature that is not listed works in the trial environment as documented. This page is about the trial environment only.

Callback URLs. In the trial environment, the RGS calls only the getbalance and balance_adj URLs you registered in the API access request. Callback URLs sent in a request are not used there. To change the registered URLs, contact us. Callback URLs per request are a feature of the final installation on your own server.

Feature

Available in the trial environment

Documented in

The Prize Drops commands: createPrizeDrop, listPrizeDrops, setPrizeDropStatus, prizeDropWinners

No

Prize Drops

has_prize_drops in the list of games

No

Get List Of Available Games

fsStatus (command 32)

No

fsStatus (command 32)

The win_rejected state of a round

No

When a win is refused by your wallet (win_rejected)

The reply signature (the hash field of your replies) and its check in the test tool

Yes. Every reply must be signed

Receive Data from RGS-CWS API - Seamless Wallet

grantfs: the currency parameter

No

Grant Free Rounds / Feature Spins

grantfs: free rounds on the G4T arcade games

No

Grant Free Rounds / Feature Spins

The error messages about a reused uniqid and about the currency of a grant

No

Error codes

The mock wallet for testing without your own endpoints

No

Steps to Integrate

getGameUrl: getbalance_url / balance_adj_url (callback URLs per request)

No: the two URLs registered in the API access request are always used. A request that carries them is still answered OK

Generate Game Play Token

grantfs / cancelfs: the refusal of an unknown fs_type

Differs: a value other than freebet is not refused; it is taken as a grant of the game's own free-spins feature

Grant Free Rounds / Feature Spins, Cancel Free Rounds / Feature Spins

grantfs: a repeated uniqid sent with a different request

Differs: it always answers Grant already processed (idempotent)

Grant Free Rounds / Feature Spins

grantfs: the message of a successful grant

Differs: the message text is different; freespins_id is returned

Grant Free Rounds / Feature Spins

cancelfs: the reply, and the payment of the spins already played

Differs: status is a number (1 / 0) where the article shows "OK" / "ERROR"; the wins of the spins already played are not paid on cancel

Cancel Free Rounds / Feature Spins

getGameUrl: status in the reply

Differs: the reply carries message and play_token, without status

Generate Game Play Token

The signature of our requests (hashed_result), covering gameid, gpid and currency

Yes

Security - Trusting our data

The reply classes of your wallet (accepted, rejected, not delivered) and the retries with a growing interval

Yes

Receive Data from RGS-CWS API - Seamless Wallet, Handling Timeouts

getGameUrl with its other parameters, including force_min_bet / force_max_bet as the total bet on slot games

Yes

Generate Game Play Token

The list of games, the game launch, the play token

Yes

Get List Of Available Games

grantfs and cancelfs with freebet and the mandatory uniqid

Yes

Grant Free Rounds / Feature Spins

The other optional commands (server time, round history, last activity, totals, timed-out bets and wins, resolve, log out)

Yes

Advanced Endpoints

The automated test tool and the checks listed for it

Yes

Testing/Finalizing your Integration