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| Parameter | Type | Required | Description |
|---|---|---|---|
| casino_id | integer | yes | provided by the game provider |
| user_id | integer | yes | user’s ID at the casino |
| username | string | yes | user’s username |
| user_ip | string | yes | user’s IP address (IPv4) |
| game_id | integer | yes | unique game id |
| currency | string(3) | yes | currency code in ISO 4217 format |
| exchanged_currency | string(3) | no | alternative currency |
| token | string(32) | yes | randomly 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"
}| Parameter | Type | Description |
|---|---|---|
| code | integer | 200 on success |
| url | string | game URL to open for the player |
Last updated on