Integration Process

A client - owner of a GROUP of gaming domains - shall follow the below procedure to successfully integrate with Naga Games.

Step 1: GROUP Manager or Operator Representative should provide Naga Games with the following information:

Information NeededDescription
Group NameGroup Name is used to identify the GROUP within Naga Games database. Naga Games shall assign a unique group code to the operator.
Manager Email
Brand NameBrand Name is used to identify the BRAND (Operator) within Naga Games database. Naga Games shall assign a unique brand code to the operator.
DomainA link to the operator domain.
Currency ListCurrencies that the brand is supported.
Brand API Server IPsBrand API Server IPs shall be added to Naga’s IP Whitelist, allowing them to communicate with the system. Brand API Server IPs should be sent to Naga Games separately via email (or any secure means of communication).
Authorize URLWhen the game is opened, Naga Games receives a game URL that includes an identity token (Player Token) generated by Operators, Naga Games then uses this token to ask Operators for player authentication and their balance.

Check Reference Operator Authorize for SEAMLESS
Place Bet URLUsing this method, Naga Games sends a PlaceBet request to the Operator to validate the bet.

Check Reference Place Bet
Payout URLUsing this method, the Naga Games system will send to the Casino Operator the winning result of a bet. The Casino Operator will change the balance of the player in accordance with this request and return the updated balance.

Check Reference Payout
Cancel Bet URLUsing this method, the Naga Games system will send a Cancel Bet request to the Casino Operator. The Cancel Bet will be sent in these cases:

- Placebet request timeout
- Invalid Placebet response
Check Reference Cancel

Step 2: Naga Games provides Operators with the following information.

πŸ“˜

Notice

For each Operator, the following information will be send via the registered manager email (or any secure means of communication).

InformationDescription
Group CodeEach group is assigned a unique group code
Brand CodeEach brand is assigned a unique brand code
Brand Public KeyPublic Key would be provided for operators to verify the data signature attached with each request that comes from Naga Games using the RSA verification algorithm.

Let check: How to verify request data by Public Key?
Group Admin Account in Back OfficeEach Group Admin is assigned a Group Admin Account to access to our Back Office

Signing & Verifying

πŸ“˜

For each Operator, a pair of Public Key - Private Key will be generated and assigned accordingly. This scheme serves as a security mechanism.

All request data coming from Naga would be hashed using SHA-256 as a data checksum and signed with the Private Key, which was generated for each operator using the RSA signing algorithm. This helps to guarantee the data integrity and also the data source authenticity.
Public Key would be provided for operators to verify the data signature attached with each request that comes from Naga using the RSA verification algorithm.
Please contact our support agent to retrieve the Public Key for your operator and download the sample code for implementation.

πŸ“˜

How to Operator verify request?

Recipe: Example Operator Verify Request Data.

Step 3: Optional - Naga Games provides Operators with the method to get our Server API's IP. Operator can add into whitelist to verify IP.

Get Server API's IP https://api.game-stg.topasianplatform.com/health/server-ip?mode=local (let check Get Server IP API)
Calling this API, Operators can always get the most recently updated IP of the Game Server.

πŸ“˜

Notice

Please retry with this API: https://api.game-stg.topasianplatform.com/health/server-ip if the above one does not work.