Enter Game

The integrator initiates a user game entry request to the MINI.GAME platform, and the MINI.GAME platform returns a pre-generated game client URL.

Entergame

This API is provided by the MINI.GAME platform and is called by the integrator.

POST {MINIGAME_APIURL}/api/live/enter

{MINIGAME_APIURL}is the MINI.GAME API domain, which can be obtained from the backend.

Headers

Name
Value

Content-Type

"application/json; charset=utf-8"

sign

"your_sign_string"

Please refer to the Signature Algorithm and Example page for details on the signature algorithm.

Body

Name
Type
Description

appId

string

A merchant's unique identifier can be obtained through the merchant's backend. The platform being referenced has an IP whitelist, which allows the request to be linked to the merchant's IP address.

token

string

Login token

currency

string

Currency name; see the currency list for details on the supported currencies' name field.

lang

string

The game language is en by default.

roomId

string

Room number

Integrator Request Parameter Example

MINI.GAME Platform Response Parameter Example

Response Example Parameter Descriptions

Name
Required
Type
Description

data

Yes

object

Response Data

url

Yes

string

URL to launch the game client

code

Yes

integer

Status Code

msg

Yes

string

Prompt message

Error Code

For more error codes, please refer to the General Error Codes page description.

Last updated