Launch Game in Demo Mode
Last updated
Last updated
Launch a game in demo mode (fun mode). Fun mode allows users to try the game using virtual currency, providing a real experience of the gameplay without using real funds.
Game reference (e.g., Monkey)
Player language in ISO 639-1 format (e.g., en, fr). See ISO 639-1 for valid codes.
Currency code in ISO 4217 format (e.g., EUR, USD). See ISO 4217 for valid codes.
URL to redirect back to the operator site.
True if it's a mobile client.
True for demo mode.
Successfully returned demo game URL.
Unauthorized - Missing or invalid token.
POST /api/play HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"reference": "Monkey",
"language": "en",
"currency_code": "EUR",
"lobby_url": "https://www.google.com",
"is_mobile": false,
"is_demo": true
}
{
"status": "success",
"game_url": "/game/play?session_token=8888"
}