Skip to Content
API MethodsGame Launch

Game launch

Returns the URL that opens the game for a real-money session. The casino generates token beforehand and must be able to validate it when the game provider calls the Authentication callback.

Request

[POST] {PROVIDER_URL}/v1/rungame
ParameterTypeRequiredDescription
casino_idintegeryesprovided by the game provider
user_idintegeryesuser’s ID at the casino
usernamestringyesuser’s username
user_ipstringyesuser’s IP address (IPv4)
game_idintegeryesunique game id
currencystring(3)yescurrency code in ISO 4217 format
exchanged_currencystring(3)noalternative currency
tokenstring(32)yesrandomly generated game run session token at the casino

Request body:

{ "casino_id": 1, "user_id": 10000, "username": "user123", "user_ip": "127.0.0.1", "game_id": 19773, "currency": "USD", "exchanged_currency": "EUR", "token": "1a2b3c4d5e6f708192a3b4c5d6e7f809" }

Response

Successful response will be returned as a json object.

{ "code": 200, "url": "https://example.com/3rd/integrations/games/wild7fruits/?token=xxx" }
ParameterTypeDescription
codeinteger200 on success
urlstringgame URL to open for the player
Last updated on