Get Transfer Status
The integrator calls this API to query the completion status of the transfer order.
TransferStatus
This API is provided by the OMG platform and is called by the integrator.
POST {OMG_API_URL}/api/cash/v1/transfer/status?trace_id=your_trace_id
Headers
Content-Type
"application/json; charset=utf-8"
sign
"your_sign_string"
Body
app_id
string
The unique identifier for the merchant, available in the merchant backend.
token
string
The user's token on the OMG platform can be obtained through the Get User Game Token API.
tx_id
string
Transaction ID for the transfer, generated by the integrator and must be unique.
timestamp
integer
Timestamp (in seconds)
Integrator Request Parameter Example
{
"app_id":"10013",
"timestamp": 1711954264,
"tx_id":"0o98h6g",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MTk2Mjk2NDQsInVzZXIiOiJ7XCJpZFwiOjM1NzE0MSxcIm9wZXJhdGVyX2lkXCI6MSxcImFnZW50X2lkXCI6MTAwMDIwLFwiYXBwX2lkXCI6MTAzMSxcImFjY291bnRfdHlwZVwiOjAsXCJ2YWx1ZVwiOlwiMVwiLFwibm93X2dhbWVfaWRcIjowfSJ9.tXfaavxZu7PIedpJ5Tp7oL0aBEnb5ujok4cbKWoNj0U"
}OMG Platform Response Parameter Example
Response Example Parameter Descriptions
code
Yes
integer
Status Code
msg
Yes
string
Message
data
Yes
object
Response Data
amount
Yes
string(decimal)
Transfer amount (supports up to 4 decimal places): positive for credit, negative for debit.
state
Yes
integer
Transfer Status
0: Failed, 1: Successful, 2: Pending
Error Code
Last updated