SDK Download
To begin integration, download the official SDK packages below:HTTP Request
Endpoint :/trade/v1/paymentMethod :
POST
Required Parameters
See Common Payment Parameters for shared fields.
Optional Parameters
Sample Request (Form Payload)
Response Fields (pay_params)
These fields are returned by QFPay and should be passed into the Alipay SDK.Sample QFPay Response
Using Alipay SDK
After receiving thepay_params in the response, construct the orderInfo string required by the SDK in the following format:
- Join all fields in the format:
key="value" - Sort keys in ascending order (alphabetical)
- Concatenate with
& - Place
signandsign_typeat the end
Sample
Make sure you:
- Follow the correct SDK version and region (HK vs CN)
- Use the exact
keynames andvaluesreturned inpay_params - Keep your sign logic consistent with Alipay SDK format

