Testing Webhooks
To test your EdfaPay webhook integration, use Webhook.site, a free tool that provides a unique URL to receive and inspect HTTP POST requests. This helps verify EdfaPay webhook payloads before production.
How to Use Webhook.site for Testing
- Go to https://webhook.site. A unique URL will be generated (e.g.,
https://webhook.site/1234-abcd-5678-efgh). - Copy this URL and paste it into your EdfaPay Dashboard settings:
Settings > Webhook > Webhook URL. - Perform a test transaction in your sandbox or production environment.
- Monitor the Webhook.site page to see headers, body/payload, request method (POST), and timestamps.
What to Check on Webhook.site:
| Confirm | Why It’s Important |
|---|---|
| Payload matches your docs | Validate data structure. |
Correct action / status | Check transaction flow. |
Correct hash field | Validate security logic. |
| Response HTTP 200 | Confirm webhook is successful. |
Important ReminderWebhook.site is for testing only. In production, your webhook endpoint should be on your secure server, properly handling authentication and hash validation.
Updated 13 days ago