API Keys (v2)
PayX uses version 2 (v2) API keys for all merchant integrations. Legacy keys (px_live_... or px_test_... without _v2_) are rejected.
Every account has two sets of keys:
- Test Keys (
px_test_v2_<uuid>): Use these in sandbox and development environments. No real funds are moved. - Live Keys (
px_live_v2_<uuid>): Use these in production environments. Real money will be moved.
Authenticating Requests
All API requests must be made over HTTPS. To authenticate, include your Secret Key in thex-api-key header or the standard Authorization: Bearer header.