Lucky Roll Integration

Concepts and URL format for integrating Lucky Roll into your platform.

Launch URL format

The game is launched with GET parameters that provide context to the module:

start?subscription_id=xx&player_id=xx&token=xx&room_index=x&transparent=false

Parameters

ParameterPurpose
subscription_id4-digit subscription identifier
player_idPublic player identifier
tokenTemporary private token for validation
room_indexRoom number (0 for standard, 0–5 for VIP)
transparentTrue for transparent background over your interface

Integration flow

  1. Configure subscription and endpoints.
  2. Host game files or use hosted URLs.
  3. Generate a launch URL with the required parameters.
  4. Redirect the player to the game.
  5. The game validates the token via your auth endpoint.

Setup steps

The full setup process has 8 steps:

StepPagePurpose
01SubscriptionActivate your subscription
02TablesConfigure room tables (join amount, winner amount, max players)
03Game FilesHost game files or use hosted URL
04Init GameBuild the launch URL with parameters
05Player DataConfigure player data endpoint
06Balance EndpointConfigure balance credit/debit endpoint
07Exit URLSet redirect destination after game exit
08Customize ThemeConnect theme assets folder

Launch modes

Lucky Roll supports two launch modes:

Warning

Keep tokens private. Do not expose private endpoint URLs or credentials in public pages. All endpoints use server-to-server communication.