Skip to main content

API Environments

The QFPay API is accessible via three main environments: Production, Live Testing, and Sandbox.

Each serves a different purpose and uses a distinct base URL. Be sure to target the appropriate environment when testing or deploying.

Environment Details

EnvironmentBase URLNotes
Productionhttps://openapi-hk.qfapi.comActual live payments with real settlement
Live Testinghttps://test-openapi-hk.qfapi.comReal payment flow but may be linked to test accounts (not settled)
Sandboxhttps://openapi-int.qfapi.comFor simulating credit card payments without deducting real funds
warning

Transactions conducted in the Live Testing environment using test accounts will not be settled. Please ensure refunds are triggered immediately for any such tests.

note

Ensure you use the correct domain when switching between environments. Mixing credentials or endpoints across environments will result in signature or authorisation errors.