Operator docs Get sandbox access

Get started

Environments and onboarding

Every Environment is isolated: its own base URLs, credentials, signing keys and data. This page covers the sandbox and the stage, what you send us, what we provision and the path we intend to production.

Environments

EnvironmentPurposeOperator APIToken prefix
SandboxBuild and check your integration: virtual units, test-only game rules, our own test Wallethttps://sandbox-api.luckyeight.gamesop_test_
StageTest your whole integration with your own test Wallet: test funds only, test-only game rules. Set up on request. Not the planned staging below.https://stage-api.luckyeight.gamesop_test_
StagingPlanned: pre-production testing with your Wallet. Not open yet.Not open yetop_staging_
ProductionPlanned: real-money play. Not open yet.Not open yetop_live_
Test Environments only, for now

Today the sandbox and the stage are the only Environments. The sandbox uses virtual units from our own test Wallet; the stage uses test funds in your own test Wallet. Real-money play needs a production Environment and a commercial release of the Game; neither is available yet. This page and the changelog will say when that changes.

A credential, a signing key or an ID from one Environment never works in another, even where two Environments share a token prefix, as the sandbox and the stage do. Keep separate key pairs per Environment, and treat everything after the token prefix as opaque.

The sandbox

  • The Operator API is at https://sandbox-api.luckyeight.games. Launch URLs point to https://sandbox-game.luckyeight.games.
  • It offers one Game, Golden Jaguar, in a reference build with test-only rules. The stakes run from EUR 0.10 to 400 in 1-2-5 steps (10 to 40000 minor units).
  • GameSessions accept the launch combinations DE / EUR / en-GB on desktop and mobile, in demo and real mode. Send the currency in demo mode too.
  • A real-mode GameSession in the sandbox draws virtual units from our own test Wallet, not from yours. Talk to us before you test real mode there.
  • Only our own demo page may embed the sandbox game in a frame. Open sandbox launch URLs in a new tab.
  • The sandbox is shared and its request-rate limits are shared too, so please don’t load-test it.

The stage

  • The Operator API is at https://stage-api.luckyeight.games. Launch URLs point to https://stage-game.luckyeight.games.
  • We set it up for you on request, with your own Operator, Brands, credentials and Wallet integration. Nothing of yours is shared with the sandbox.
  • Real mode calls your Wallet: connect a test endpoint with test balances only, never a production Wallet. A new Wallet integration starts with money movement turned off, and we turn it on once you confirm your test Wallet is ready.
  • It offers the same reference build of Golden Jaguar with test-only rules as the sandbox, not a commercial release. Forty currencies have stakes of their own, twelve 1-2-5 steps from about EUR 0.10, such as EUR 0.10 to 400, USD 0.10 to 500 and BRL 0.50 to 2000. Any other currency uses the USD steps in its own minor units.
  • Your launch combinations, lobby URLs and page origins are the ones we provision for you; pages on your registered origins may embed the game in a frame. A Brand can also be set up to accept any country, locale or currency; see Launch combinations.
  • We send you your IDs, the base URLs, your token’s scopes, our Wallet signing key and the address our Wallet requests come from. The sandbox values on this page don’t apply to the stage.
  • Its request-rate limits are shared by every Operator on the stage, so please don’t load-test it either.

What you send us

ItemDetails
BrandsThe names of the Brands (sites or skins) that will offer our games. Each Brand gets its own ID.
Lobby URLsOptional. For each Brand, the exact HTTPS URLs you’ll send as return_urls.lobby, if you send one. We compare the complete URL, query string included, so register every variant you use. No fragments. If you add sites too often to list them, ask us to set the Brand up to accept any HTTPS lobby and cashier URL instead.
Cashier URLsOptional, the same rules for return_urls.cashier.
Page originsFor each Brand, the exact origins of the pages that embed the game in an iframe, such as https://casino.example.com. No paths and no wildcards. You can ask us to allow any HTTPS page instead. See Embedding the game.
Signing public keysFor each Environment, your Ed25519 public key as 32 raw bytes in unpadded base64url, with a key ID and the dates it’s valid. See Create your signing key.
Launch combinationsFor each Brand and Game: the modes, currencies, countries, locales and client types you launch.
Wallet endpointFor real mode, the HTTPS base URL of your Wallet API: a public DNS name on port 443, with no IP address, optionally followed by a base path such as /provider/lucky8. We append the fixed paths such as /v1/wallet/debits. See Wallet requirements.
Wallet access tokenAn opaque bearer token you issue to us for your Wallet, one per Environment.

What we send you

ItemDetails
Operator API TokenOne per Environment, bound to your signing key IDs and to a set of scopes. Sent through a secure channel, never by plain email.
Brand IDsThe IDs of your Brands, for brand_id in your requests.
Base URLsThe Operator API base URL and the game origin of the Environment.
Wallet signing keyOur Ed25519 public key and its key ID, so your Wallet can verify our requests. See Verify our requests.

Game IDs aren’t sent separately: the Games your Brands may offer appear in the catalog.

Token scopes

Each operation needs one scope on your token. Without it the request fails with 403 authorization_failed.

ScopeOperations
games:readList games, Get a game
sessions:createCreate a GameSession
sessions:readGet a GameSession
rounds:readGet a Round
transactions:readGet a WalletTransaction

Launch combinations

A GameSession is accepted only for a combination we provisioned for your Brand: the Brand, the Game, the mode and the player’s currency, country, locale and client type. Anything else returns 404 resource_not_found, the same answer as for a Game that doesn’t exist, so the API never reveals what another Operator may launch.

Send the values exactly as provisioned. When we match a launch combination, there’s no locale fallback and no country inference: en-US doesn’t fall back to en-GB, and a locale doesn’t imply a country or a currency. The catalog shows what a Game supports in general; your launch combinations are what you may actually launch.

A Brand can instead be set up to accept any country, any locale or any currency, each on its own; ask for it during onboarding. Then we check only that value’s syntax: two uppercase letters for a country, three for a currency, and 2 to 35 characters for a locale (send a BCP 47 tag). The mode and the client type still have to be provisioned. When the game has no language for a session’s locale, it plays in English, and a currency without stakes of its own uses the USD stakes in its own minor units. The catalog and its filters still show only what the Game declares.

Rotating keys and tokens

Signing keys and tokens have validity dates. Rotate them with an overlap, so nothing stops working:

  1. Create a new key pair and send us the new public key with a new key ID.
  2. We register the key and issue a new Operator API Token bound to it. The keys bound to an existing token don’t change.
  3. Switch your signer to the new key and token. The old pair keeps working until it expires.
  4. Stop using the old key and token before their validity ends.

A revoked key or token stops working at once. If a private key or token may have leaked, tell us immediately so we can stop it.

Our Wallet signing key rotates the same way: for an overlap your Wallet should accept requests signed with either of our key IDs. When you rotate the Wallet access token you issued us, accept the old and the new token until we confirm the switch.

The path to production

Staging and production aren’t open yet. This is the path we intend, with the stage for Wallet testing until staging opens:

  1. Sandbox. Your signing works, you read the catalog, create demo GameSessions and open the game in a new tab.
  2. Wallet testing. Your own test suite covers the Wallet acceptance scenarios. Then your Wallet’s test endpoint is connected on the stage.
  3. Production setup. We provision your production key, token, Brand URLs, page origins, launch combinations and Wallet endpoint. A new Wallet integration starts with money movement turned off.
  4. Production verification. After a controlled first check, money movement is turned on.

Real-money play also needs a commercial release of the Game, which isn’t available yet. We’ll agree on the timing and details with you.