Overview
This quick start walks you through creating a payment request and receiving a payment notification.Step 1 — Prepare credentials
View required credentials
View required credentials
To use the QFPay OpenAPI, you need:
app_codeclient_keymchid(if provided)
Step 2 — Prepare request parameters
View example request parameters
View example request parameters
Step 3 — Generate request signature
How to generate the signature
How to generate the signature
Sign all request parameters using your
client_key.See Signature Generation for full instructions.Step 4 — Send payment request
API request example
API request example
Step 5 — Handle the response
Successful response example
Successful response example
Step 6 — Receive payment notification
Payment notification details
Payment notification details
QFPay sends an asynchronous notification to your
notify_url when payment is completed.Ensure your endpoint:- accepts POST requests
- returns HTTP 200 upon success
- verifies the signature
Optional: Test locally
Expose your callback URL
Expose your callback URL
Use ngrok or similar tools to receive notifications:
Test with Postman
Test with Postman
Import the Postman collection to send test requests:https://sdk.qfapi.com/assets/files/qfpay_openapi_payment_request.postman_collection-c8de8c8fe69f3fcd5a7653d41c289a29.json
