Starts a launch session for a player: accepts partner parameters, validates them,
inserts a launch record into the database, and returns a URL to open the game.
Primary entry point for game launcher integration.
Request body (JSON)
{
"companyId": 5,
"game_id": 101,
"currency": "EUR",
"language": "en",
"session_id": "partner-session-token",
"player_id": "player-123",
"username": "demo_user",
"return_url": "https://casino.example/lobby",
"version": "1.0",
"country": "RS"
}
Response notes
- Success: object with
url (launch link)
WRONG_INPUT_PARAMETERS — body is not valid JSON / failed to deserialize
DB_ERROR — database insert failed
- Validation fail:
status: false + code / message