Skip to main content

Game Launch

The game is launched via an HTTP GET request (URL redirect).

The Merchant must redirect the Player to the HPGames game launcher URL with the required query parameters.

The sequence diagram below illustrates the communication flow between the Player, HPGames and the Merchant for each game launch request.

Game Launcher Sequence Diagram


Launch Parameters

The following table details the parameters that the Merchant must supply to the HPGames platform to launch a game.

ParameterTypeDescriptionRequired
merchantIdUUIDMerchant identifierYes
authTokenStringAuthentication token representing the Player sessionYes
gameIdIntegerIdentifier of the game to be launched (provided by HPGames via API or static list)Yes
demoBooleanIndicates whether the game should be launched in demo mode without real money transactions. Defaults to falseNo
languageStringISO 639-3 language code (e.g. ENG, SRP, DEU). Defaults to ENGNo

Example Launch URL

{BASE_URL}/game/launcher?gameId=1&merchantId=1387a6cc-3651-4473-ae52-e415caea3395&demo=false&authToken=6dc6c60a-d581-46a0-9ece-2a1765009128&language=ENG
note

The BASE_URL will be provided by HPGames for each environment (e.g. staging, production).