API Request Parameter Description
{
"serial_number": "string" ,
"merchant_number": "string",
"sub_merchant_number": "string",
"server_type": "string",
"version": "string",
"callback_process": 0,
"data": "{}",
"sensitive_data": "string",
"sign": "string",
"aeskey": "string",
"extend_info": "string",
"return_info": "string",
}
Request parameter description
Parameter Name | Required | Type | Description |
---|---|---|---|
serial_number | YES | String | Request serial number, each request must have a unique serial number. Rules for generating serial numbers refer to the request for generating serial numbers |
merchant_number | YES | String | Merchant account, provided by ET |
sub_merchant_number | YES | String | Second level merchant account, provided by ET |
server_type | YES | String | Service type, different interfaces pass different service type values |
version | YES | String | Version number, default to 2.0.0 |
callback_process | NO | Int | 0 represents no, 1 represents yes. Do you need special treatment? Please contact ET for details |
data | NO | json | For specific data types, please refer to the parameter description for each interface request. Use JSON to serialize the data |
sensitive_data | NO | String | Sensitive data fields. The interface needs to return sensitive data, and special instructions will be requested in the interface parameters. When there is no value, an empty string will be passed. Encryption process reference interface encryption and decryption steps |
sign | YES | String | If the signature verification method provided by Yisihui is not used, both parties need to negotiate and discuss the verification method. Signature process reference interface encryption and decryption steps |
return_info | NO | String | I hope to have the value passed back by Yisihui when calling the return function. For example, if this value is passed back as 1 during the call, there will also be a field that returns as 1. If not used, an empty string will be given |
extend_info | NO | String | Extended information, reserved for use, default to empty |
aeskey | NO | String | Used for AES encryption, key and iv are the same value and need to be encrypted. Encryption process reference interface encryption and decryption steps |