Getting Started
Webhooks allow your application to receive real-time HTTP POST notifications when verification events occur, eliminating the need to poll the API for updates. To set up webhooks, navigate to your dashboard at ev.ecomtechbd.com, go to the Webhooks section, and click "Add Endpoint." Enter your HTTPS endpoint URL and select the events you want to subscribe to: batch.completed, batch.failed, verification.completed, quota.warning, and quota.exceeded. Each endpoint receives a unique signing secret that you must store securely for signature verification.
Your webhook endpoint must be publicly accessible over HTTPS with a valid SSL certificate. When an event occurs, we send an HTTP POST request with a JSON body and include an X-EV-Signature header containing an HMAC-SHA256 signature of the request body. Your endpoint should return a 2xx status code within 30 seconds to acknowledge receipt. If the delivery fails, we retry with exponential backoff at intervals of 1 minute, 5 minutes, 30 minutes, 2 hours, and 24 hours. You can view delivery logs, manually retry failed deliveries, and test your endpoint from the dashboard. We also support configuring webhooks via the API using the /v1/webhooks endpoints for programmatic management.