Transfer Wallet

Transfer wallet mode refers to the approach where the accessing party actively calls the MINI.GAME platform's API to deposit or withdraw funds for the player to or from the accessing party's platform.

Flow Chart

Request Parameters

All API calls made by the merchant to the MINI.GAME platform must include

POST /MINIGAME_APIURL?trace_id=your_trace_id

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

The unique identifier for the merchant, available in the merchant backend.

timestamp

integer

Timestamp of the request sent (in seconds)


Response Parameters

When the HTTP status code returned by the integrator is 200, the API request is successful and the response can be parsed normally. For other HTTP errors, the connection is considered abnormal.

Header

Name
Value

Content-Type

"application/json; charset=utf-8"

Body

Name
Type
Description

code

integer

When the status code code=1, it indicates a successful call.

msg

string

Prompt message

data

object

Response Data

Error Code

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

Last updated