Launch game in Real Mode

post

The game will be launched using the player's currency and language settings as passed by the Operator.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
ip_addressstringRequiredExample: 196.168.1.145
player_idstringRequired

The unique user ID in the Operator system.

Example: 888
balanceintegerRequired

Player's balance in subunits. You can get subunits to units fraction(e.g., cents for EUR). Follows ISO 4217 standards.

Example: 1000
referencestringRequiredExample: Monkey
languagestrinRequired

Player language in ISO 639-1 format (e.g., en, fr). See ISO 639-1 for valid codes.

Example: en
currency_codestringRequired

Currency code in ISO 4217 format (e.g., EUR, USD). See ISO 4217 for valid codes.

Example: EUR
countrystringRequired

Country of the player (ISO 3166-1 alpha-2). See ISO 3166-1 for details.

Example: MT
jurisdictionstringRequired

Jurisdiction of the player. Available values include: AT, BS, BG, BE, CH, CZ, DK, UK, IT, IE, ES, PT, RO, MT, PH, LT, LV, EE, SE, CO, GG, BY, RS, IM, GR, DE, NL, NO, X1, ZA, UA, 99, CA-ON, HR.

Example: MT
lobby_urlstringRequiredExample: https://www.google.com
is_mobilebooleanRequiredExample: false
Responses
200

Successful launch of game session

application/json
post
/api/play
POST /api/play HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 212

{
  "ip_address": "196.168.1.145",
  "player_id": "888",
  "balance": 1000,
  "reference": "Monkey",
  "language": "en",
  "currency_code": "EUR",
  "country": "MT",
  "jurisdiction": "MT",
  "lobby_url": "https://www.google.com",
  "is_mobile": false
}
{
  "status": "success",
  "game_url": "/game/play?session_token=8888"
}

Last updated