Configuring Webhooks
You can configure your Webhook URL in the PayX Dashboard under Developer Settings. Once configured, PayX will send an HTTPSPOST request with JSON payloads to your endpoint whenever transaction events occur.
Security & Delivery Rules
To protect merchant systems and prevent security vulnerabilities, PayX enforces strict outbound webhook rules:Signature Verification
Every webhook request contains anX-PayX-Signature header. This is an HMAC-SHA256 signature generated using your Webhook Secret (whsec_live_... or whsec_test_...) and the raw HTTP request body.
You should always verify this signature before processing events.
Verifying with Node.js SDK
If you are using thepayx-node SDK: