HTTP Request
All HTTP requests in this document use POST to submit the request. The following rules must be followed when calling the API:
Transfer Method
To ensure transaction security, HTTPS is used for transmission, and the TLS version is no less than 1.2
Submission method
Submit using POST method
Data Format
Submitted data are all in application/x-www-form-urlencoded format
Signature algorithm
The general steps for signature generation are as follows:
The first step is to assume that all data sent or received is a set M, and the parameters with non- empty parameter values in the set M are sorted from small to large according to the ASCII code of the parameter name (lexicographic order), using the format of the URL key-value pair (i.e. key1 =value1&key2=value2...) concatenated into a string.
The second step to concatenate the key at the end of stringA to obtain the stringSignTemp string, perform an MD5 operation on stringSignTemp, and then convert all characters of the obtained string to uppercase to obtain the sign value signValue.
Example
stringSignTemp="pay_amount=pay_amount&pay_applydate=pay_applydate&pay_bankcode=pay_bankcode&pay_callba
ckurl=pay_callbackurl&pay_memberid=pay_memberid&pay_notifyurl=pay_notifyurl&pay_orderid=pay_orderid&ke
y=key"
sign=MD5(stringSignTemp).toUpperCase()