Launch Game

For partners to create a player in Iris's platform.

If the same UserID is repeatedly, this API will be automatically taken as update instead of creating.

It’s to login the player into both of the party’s server.

API Request URL

POST {endpoint}/LaunchGame

circle-info

To login and to receive and verify necessary information of the player.

API Request Body Example

{
    "traceId": "23289jfjk902",
    "vendorDownlineId": "0_downline1",
    "playerId": "nexid",
    "currency": "IDR",
    "language": "en",
    "gameCode": "0_5",
    "deviceType": 0,
    "iFrame": false,
    "returnUrl": "https://google.com/nexmines",
    "isFunPlay": false
}

Request Fields

Name
Type
Description

traceId*

String

Used to track end to end requests for all transactions

vendorDownlineId*

String

Used to indicate the vendor downline that the player belongs to

playerId*

String

Unique player ID

currency*

String

ISO-4217 currency code List of currency supported

language*

String

ISO 639-1 language code List of languages supported, default will be en

gameCode*

String

The game to be launched List of game codes

deviceType*

Integer

The type of device player is using to login

0 for desktop

1 for mobile

iFrame*

Boolean

Whether the game mode is in iFrame

returnUrl

String

The URL that you wishes player to return to when they exit our game, leave black if your action is a new webpage, if iFrame is true, we will ignore "ReturnUrl"

isFunPlay*

Boolean

Whether the game mode is in funplay

API Response Example

Response Fields

Name
Type
Description

traceId*

String

Used to track end to end requests for all transactions

statusCode*

Integer

Status of request

List of status codes

launch_url*

String

URL of the game to redirect the player to

Last updated