How webhooks work
A webhook is a secure HTTPS endpoint that you host within your backend. When events occur in PaySway, we send HTTPS requests containing JSON payloads to your registered endpoints. Each payload includes information about what happened and when.Real-time notifications
Receive instant updates when events occur, enabling immediate response and processing.
Reliable delivery
Built-in retry logic with exponential backoff ensures events reach your systems even during temporary outages.
Secure verification
Cryptographic signatures ensure only authentic requests from PaySway reach your endpoints.
Event filtering
Subscribe only to the events you need, reducing noise and processing overhead.
Implementation steps
Follow our step-by-step guide to implement webhooks in your application:Build your webhook handler
Implement handler
Create a secure HTTPS endpoint that can receive and process PaySway event notifications. Learn about requirements, retry logic, and proper response handling.
Configure webhook subscription
Subscribe to events
Configure your webhook subscription through the PaySway API to start receiving events. Set up subscriptions, manage event filters, and obtain security credentials.
Verify request authenticity
Verify requests
Implement signature verification to ensure requests are genuinely from PaySway. Secure your webhook with cryptographic signature verification.