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
Body
ip_addressstringRequiredExample:
196.168.1.145
player_idstringRequiredExample:
The unique user ID in the Operator system.
888
balanceintegerRequiredExample:
Player's balance in subunits. You can get subunits to units fraction(e.g., cents for EUR). Follows ISO 4217 standards.
1000
referencestringRequiredExample:
Monkey
languagestrinRequiredExample:
Player language in ISO 639-1 format (e.g., en, fr). See ISO 639-1 for valid codes.
en
currency_codestringRequiredExample:
Currency code in ISO 4217 format (e.g., EUR, USD). See ISO 4217 for valid codes.
EUR
countrystringRequiredExample:
Country of the player (ISO 3166-1 alpha-2). See ISO 3166-1 for details.
MT
jurisdictionstringRequiredExample:
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.
MT
lobby_urlstringRequiredExample:
https://www.google.com
is_mobilebooleanRequiredExample:
false
Responses
200
Successful launch of game session
application/json
401
Unauthorized - Missing or invalid token
application/json
post
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