API Callback

API Endpoint

Provided when the merchant creates the application.

Request Method

POST

Request Data Type

application/json

Request Parameters

Parameter Name
Description
Request Type
Required
Data Type
Notes

id

Platform Order ID

body

true

string

reqId

Merchant Order ID

body

true

string

appId

Platform APP ID

body

true

string

appName

Platform Application Name

body

true

string

mchNumber

Platform Merchant ID

body

true

string

orderType

Order Type

body

true

string

orderStatus

Order Status

body

true

string

createTime

Creation Time

body

true

string

updateTime

Update Time

body

true

string

deadlineTime

Order Expiration Time

body

true

string

fromAddr

Payment Address

body

true

string

toAddr

Receiving Address

body

true

string

chain

Blockchain Type

body

true

string

coin

Currency Pair

body

true

string

amount

Order Amount

body

true

string

tradeCoin

Payment Currency Pair

body

true

string

tradeAmount

Payment Amount

body

true

string

txHash

Blockchain Transaction Hash

body

true

string

txTime

Blockchain Transaction Time

body

true

string

remark

Merchant Remark

body

true

string

Response Parameters

Parameter Name
Description
Type
Notes

code

Status code: 0 for success, 1 for warning, 2 for error

integer (int32)

data

Data object

msg

Return message

string

success

Whether the request was successful

boolean

Example Response:

{
  "code": 0, // Indicates successful callback response
  "data": {},
  "msg": "",
  "success": true
}

Last updated