get https://stg-bonanza.azureedge.net/?playerToken=39af0e52dbe5acefc6d2fe5f9639d3d9&groupCode=dpae&brandCode=dtdr&redirectUrl=https://api-demo-operator.stg.game.topplatform.asia
To open a specific game, the operator should use the game URL provided by Naga Games along with the specified parameters.
Please Note!
Operators are required to make a preliminary call to the "Get All Games" API endpoint before using the Opening Game API. This call enables them to retrieve a list of available game URLs.
Query Parameters
Parameter Name | Description | Data type | Status |
---|---|---|---|
playerToken | Unique token of the player | String (length: 255) | Required |
groupCode | Auto-generated code of the group in Naga Games’s database | String (length: 4) | Required |
brandCode | Auto-generated code of the brand in Naga Games’s database | String (length: 4) | Required |
redirectUrl | A link to a page on Operator's side which player will be redirected to if they choose to close or quit the game. Note: Please don't encode the URL. Example: Wrong: https%3A%2F%2Fgoogle.com Correct: https://nagagames.com | String (length: 255) | Optional |
language | Language in which the game is opened. Available values are (Language code in ISO 639-1 standard): - en - English - zh - Chinese - th - Thai - id - Indonesian - ko - Korean - ja - Japanese | String | Optional |
isFun | Turn on fun mode for players when isFun=true. Fun mode is not enabled by default. Operators need to contact Technical Support team to enable this feature. For fun mode, Operators do not need to provide playerToken. groupCode, brandCode, and isFun are required Example: https://stg-bonanza.azureedge.net?groupCode=dpae&brandCode=dtdr&redirectUrl=https://api-demo-operator.stg.game.topplatform.asia&isFun=true | String | Optional |
Example
Real Mode
https://stg-bonanza.azureedge.net/
?playerToken=39af0e52dbe5acefc6d2fe5f9639d3d9
&groupCode=dpae
&brandCode=dtdr
&redirectUrl=https://api-demo-operator.stg.game.topplatform.asia
Fun Mode
https://stg-bonanza.azureedge.net/groupCode=dpae&brandCode=dtdr&isFun=true