1. reverse check request
Business Description: The first asynchronous callback confirmation is made when the order is issued, and your user initiates the request for cash withdrawal, and we make a callback confirmation to ask you whether the order is valid or not.
Requires your configuration
field | type | nickname | description |
---|---|---|---|
remitId | String | remitId |
|
Md5key | String | Md5key |
|
Aeskey | String | Aeskey | |
Url | String | We ask for your url |
request header(header):
ParameterVariableName | Type | Required or Not Required | nickname | Description |
---|---|---|---|---|
content-type | Integer | Y | Fixed application/json;charset=UTF-8 | |
merchOrderId | String | Y | merchant Id | |
remitId | String | Y | 代付Id | Determine a unique value by you |
Signature rules
1、Parameter Ascending Sort Combination (example:a=123&b=123&c=123)
2、Signing parameters = md5 (combined parameters +&key = interface key,example:secret key=key,parameter is a=123&b=123&c=123,The string before encryption is a=123&b=123&c=123&key=key )
3、The signing parameter is called sign, note: sign is not involved in signing.
4、The parameters that need to be involved in the encryption are:merchantNo、remitId、orderNo、walletAddress、amount
Request Parameters(body):
ParameterVariableName | Type | Required or Not Required | nickname | Description |
---|---|---|---|---|
orderNo | String | Y | Merchant Order Number | Order number |
walletAddress | String | Y | wallet address | User's wallet address |
amount | String | Y | Order Amount | Order amount |
sign | String | Y | sign | See signature rules above for details |
Returned results(response)
field | type | nickname | description |
---|---|---|---|
status | String | Return Status | “ture”or“false” |
msg | String | message |
The specific error can be returned when an error occurs. |
The appeal is a reverse check request of Aes configured by us. The whole process is an asynchronous request. When this configuration is turned on, the entire order will be in the pending status if you do not reply. Please be informed.
Please follow the above configuration and contact the account opening specialist to provide the above configuration,Noted:The data in the body is after the json string, encrypted with aes256 and then base64 Encode again
,The same processing is required in the returned data. return data to get json string for aes256, encrypted with aes256, and then base64Encoded.