Environment Overview
| Environment | Base URL | Purpose |
|---|---|---|
| Production | https://openapi-hk.qfapi.com | Live payments with real settlement |
| Live Testing | https://test-openapi-hk.qfapi.com | Real payment flow using test accounts (no settlement) |
| Sandbox | https://openapi-int.qfapi.com | Simulated transactions for development and testing |
When to use each environment
Sandbox
Use Sandbox for:- initial development
- testing API connectivity and signatures
- simulating credit card transactions
- verifying request/response handling
Sandbox may not support all payment methods.
Live Testing
Use Live Testing for:- validating real payment flows
- testing QR code and wallet payments
- end-to-end testing before production launch
Production
Use Production when:- integration is fully tested
- you are ready to accept real payments
- settlement and reconciliation are required
Important Notes
Using credentials or endpoints from a different environment will result in authentication or signature errors.
Always confirm with QFPay which environment and credentials should be used for your deployment.
Recommended workflow
- Develop and test in Sandbox
- Validate payment flow in Live Testing
- Deploy to Production
