---
updatedAt: 2025-11-06T12:43:33.000Z
agentTools:
  projectIndex: https://docs.edfapay.com/llms.txt
---

# 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

1. Go to <https://webhook.site>. A unique URL will be generated (e.g., `https://webhook.site/1234-abcd-5678-efgh`).
2. Copy this URL and paste it into your EdfaPay Dashboard settings: `Settings > Webhook > Webhook URL`.
3. Perform a test transaction in your sandbox or production environment.
4. 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 Reminder
>
> Webhook.site is for testing only. In production, your webhook endpoint should be on your secure server, properly handling authentication and hash validation.