API Reference Documentation

Complete guide to PaymentFlow API endpoints and integration.

API Reference

Authentication

API Key Authentication

ApexonPay uses API keys for authentication. You need to include your API key in the request headers.

Authentication Headers

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Security Guidelines

  • Never expose your API keys in client-side code
  • Use test keys for development and testing
  • Rotate your production API keys regularly

Environment Configuration

Test Environment

Used for development and testing, no real transactions

pk_test_...
Live Environment

Used for real transaction processing

pk_live_...