Documentation Index
Fetch the complete documentation index at: https://sdk.qfapi.com/llms.txt
Use this file to discover all available pages before exploring further.
API Response Format
All QFPay APIs return JSON-formatted responses. A standard successful response will follow the structure below:Field Description
| Field | Type | Description |
|---|---|---|
respcd | String(4) | Return code. "0000" means success. Other codes indicate failure. |
respmsg | String(64) | Message description of the respcd value. |
data | Object | Contains payment transaction data. See details below. |
Signature Verification
In critical integrations, developers are encouraged to verify the response signature (if present in headers) to ensure data integrity.
X-QF-SIGN and X-QF-SIGNTYPE headers, which can be validated by:
- Extracting the
datafields in the same sorted order. - Concatenating them into a string with format:
key1=value1&key2=value2&... - Appending the client key.
- Generating the MD5 hash and comparing it to the received signature.

