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:
| Name | Type | Description |
|---|---|---|
gameId | string | Game id |
gameSession | string | Game session id |
accountId | int | Account id |
currencyName | string | Currency of user |
userLanguage | string | Language of user |
userId | string | User Id from platform side (for games storing history, like bets) |
jpKey | string | Jackpot key |
homeUrl | string | Absolute url of home page (will be used for home button, if present) |
refillUrl | string | Absolute url of refill page (will be used for refill button, if present |
userDisplayName | string | User display name |
country | string | Country of user requesting game launch. ISO 3166-1 alpha-2. If invalid - XX will be sent |
device | string | Device type of user: dt_desktop, dt_mobile |
Expected response:
| Name | Type | Description |
|---|---|---|
gameLaunchUrl | string | Game 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"
}