Enter Game

Merchant (operator) calls this API to obtain the game launch URL for a player. Provided by the game platform.

Note: A game URL entered directly in a browser address bar can only be used once. Within an active session it can be reused until the connection is dropped.

Request URL

POST {API_URL_ROOT}/game/enter

Request Parameters

Field Required Type Description
sign YES string Signature computed using the Signature Algorithm.
timestamp YES int UTC timestamp, seconds since 1970-01-01, e.g. 1741837297.
Accept-Language YES string Language codes, see Language List.
Content-Type YES string "application/json; charset=utf-8"

Body

Field Required Type Description
tenantId YES int Merchant ID assigned by the platform.
userId YES string Merchant's player ID.
gameId YES int Game ID (provided by platform).
currency NO string Currency code, e.g. USD. See Currency List.

Response Parameters

The game URL string is returned in data.

Example

{
  "isSuccess": true,
  "code": 0,
  "data": "http://xxx?t=1&g=1&k=67d2b6c02a6e1faf1df52455&l=zh"
}

results matching ""

    No results matching ""