Webhooks allow you to receive real-time notifications when the status of a transaction changes (e.g., when a user approves a payment prompt).Documentation Index
Fetch the complete documentation index at: https://docs.payx.company/llms.txt
Use this file to discover all available pages before exploring further.
Configuring Webhooks
You can configure your Webhook URL in the PayX Dashboard under Developer Settings. Once configured, PayX will send aPOST request to your URL whenever a transaction is completed or failed.
Payload Structure
The webhook payload is a JSON object containing the transaction details.Security
To ensure that a webhook was actually sent by PayX, you should verify the signature. PayX includes anx-payx-signature header in every request. This is a HMAC-SHA256 hash of the request body, signed with your Webhook Secret.
Verifying Signatures (Node.js SDK)
If you are using thepayx-node SDK, verifying signatures is straightforward: