Request to Enter Game

The access party calls this API to retrieve the live stream list. This API is provided by the MINI.GAME system interface and is called by the access party.

InGame

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

Parameter
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

Parameter
Required
Type
Description

code

Yes

integer

Status Code

msg

Yes

string

Prompt message

data

Yes

object

Response Data

url

Yes

string

URL to launch the client

Error Code

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

Last updated