/v4/game/game-url

Get Game Access URL

POST /v4/game/game-url

It returns the URL to access the game. The URL is valid for 10 minutes from creation and is for one-time use only.

When making a request, the game_symbol value can be used as the game_code from the game list.

To apply a user-specific RTP instead of the agent's RTP, specify the desired RTP in win_ratio. This value must be equal to or less than the agent's RTP. To use the agent's RTP, set win_ratio to 0 (default).

If you use a user_code from a user belonging to another agent, a PERMISSION_ERROR code is returned. If you attempt to run a game not assigned to the agent, a PROVIDER_NOT_FOUND or GAME_NOT_FOUND code is returned.

Headers

NameValue

Authorization

Bearer <API_TOKEN>

Content-Type

application/json

Accept

application/json

Body

{
  "user_code": 400000001,
  "provider_id": 1,
  "game_symbol": "vswaysdogs",
  "lang": 1,
  "return_url": "https://lobby.slotcity.com",
  "win_ratio": 0
}
NameTypeDescription

user_code

integer(64bit)

User's Code

provider_id

integer(64bit)

Provider ID

game_symbol

string

Game Symbol

lang

integer(32bit)

Language Code Value For more information, please refer to this page.

return_url

string

Home Url (Redirect URL when the game is closed)

win_ratio

float

RTP(Winning Rate)

Response

{
  "code": 0,
  "message": "OK",
  "data": {
    "game_url": "http://..."
  }
}
KeyTypeDescription

code

integer(32bit)

Response Code

message

string

Response Message

game_url

string

Game Launch URL

Last updated