Link Search Menu Expand Document

Game Launch Processing

Overview

The process of game launch is processed in open game api. If you want to process other operations before launching game, you can provide API where we will send information for generating game launch url. All you need is provide us valid game launch url. To activate this option, provide setting gameLaunchMethod described here provider account settings protocol;

Parameters

Request:

NameTypeDescription
gameIdstringGame id
gameSessionstringGame session id
accountIdintAccount id
currencyNamestringCurrency of user
userLanguagestringLanguage of user
userIdstringUser Id from platform side (for games storing history, like bets)
jpKeystringJackpot key
homeUrlstringAbsolute url of home page (will be used for home button, if present)
refillUrlstringAbsolute url of refill page (will be used for refill button, if present
userDisplayNamestringUser display name
countrystringCountry of user requesting game launch. ISO 3166-1 alpha-2. If invalid - XX will be sent
devicestringDevice type of user: dt_desktop, dt_mobile

Expected response:

NameTypeDescription
gameLaunchUrlstringGame launch url
Example

Request:

{
  "gameId": "123456",
  "gameSession": "session_abc123",
  "accountId": 78910,
  "currencyName": "USD",
  "userLanguage": "en_US",
  "userId": "user_123",
  "jpKey": "jp_key_xyz",
  "homeUrl": "https://example.com/home",
  "refillUrl": "https://example.com/refill",
  "userDisplayName": "JohnDoe",
  "country": "US",
  "device": "mobile"
}

Response:

{
  "gameLaunchUrl": "https://example.com/game-launch"
}