API Specification Common Rules
Interface call frequency limit: Frequency limit for each IP is 100 times per second.
Protocol Rules
The following specifies the rules for calling the API when accessing CCPayment
Rule | Description |
---|---|
Transfer Mode | Use HTTPS for secure transactions. |
Submit Mode | POST, depends on the API. |
Data Format (content-type) | Data submitted and response are both in application/json format. |
Char Encoding | Use UTF-8 character encoding. |
Signature Algorithm | SHA-256 |
Request Header
Request Header | Type | Required | Value | Description |
---|---|---|---|---|
content-type | string | Y | application/json | |
Appid | string | Y | Merchant's unique credential. Find it on the Developer page. | |
Timestamp | string | Y | 1677152720 | Timestamp in seconds (10-digit) expires in 2 minutes. |
Sign | string | Y | 871f0223c66ea72435208d03603a0cb00b90f6ac4a4ba725d00164d967e291f6 | SHA-256 (APPID + APP Secret +timestamp+body (json string)). Signature guide. |
Last updated