Rule Description
Request
GET
request: The parameter is on the URL, and its value needs to be processed throughurlencode
.POST
request:The parameters are reported in Raw JSON format in the body.- File upload request:The:The parameters are reported in the form of Form Data in the body.
API KEY
Assigned by the system to identify merchants and used in signatures.
Request ID
The system assigns a unique identifier to each received request. The unique identifier of the request is included in the requestId in the response body of the response. When you need help, please provide a unique identifier for the request so that we can quickly locate the specific request.
Error Message
The HTTP status code for a successful request is 200
, and the code
in the response body of a successful process is also 200
. Other code
codes indicate business processing failure/abnormality, and the cause of the failure will be described in the message
response field.
If a service system error occurs during request processing, a status code of 500
, 501
, or 503
will be returned. This situation is relatively rare.
User Agent
The HTTP protocol requires the requesting client to use the HTTP header User-Agent
to identify themselves in each request. The system will refuse to process requests without a User-Agent
.
IP Whitelist
In the production environment, if the merchant configures an IP whitelist, the system will forcibly verify whether the IP of the requesting client is in the whitelist, and the system will intercept requests that are not in the whitelist.
There is no IP restriction in the test environment.