Transfer Wallet

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

Request Parameters

All API calls made by the merchant to the OMG platform must include

POST /OMG_TRANSFER_URL?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

app_id

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

Message

data

object

Response Data

Error Message

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

Last updated