Communication Protocol#
Merchants must follow the specified data exchange format when requesting platform services.All API requests must use the POST method with Content-Type: application/json.
Both request and response bodies are in JSON format.
To ensure consistent character encoding, all data packets must use UTF-8.
Currency unit: CNY (Yuan), accurate to two decimal places (cents).
Signature Rules#
The signature algorithm is MD5.
key1=value1&key2=value2&secret=secret
The data to be signed includes all non-empty request parameters except sign, concatenated in A–Z alphabetical order, followed by &secret=secret.
The secret key can be found on the merchant dashboard under Profile.
Authentication#
Add a custom header field to each request:X-Api-Key: {your_api_key}
The API key value can be viewed on the merchant dashboard under Profile.
Callback Guidelines#
Callbacks may be sent multiple times; merchants must handle duplicate notifications gracefully.
Callback data is sent in JSON format with Content-Type: application/json.
Modified at 2025-11-15 00:37:02