Preloader

Base URL

All API requests are made to the following base URLs. Choose the environment based on your current development stage.

Environments
LIVE https://quatapay.com/pay/api/v1 Production
SANDBOX https://quatapay.com/pay/sandbox/api/v1 Testing
Production (LIVE)
  • Real transactions with real money
  • Use your live API credentials
  • Only use after thorough sandbox testing
  • Monitor your merchant dashboard for live activity
Sandbox (Testing)
  • Test your integration without real money
  • Same request/response format as production
  • Safe to test all error scenarios
  • Use sandbox credentials from your dashboard

Request Format

Protocol

HTTPS

All endpoints require HTTPS

Content-Type

application/json

All request bodies are JSON

Accept

application/json

All responses are JSON

Tip: Store the base URL in an environment variable so you can switch between sandbox and production without changing your code.
QUATAPAY_BASE_URL=https://quatapay.com/pay/api/v1