Resending Deliveries
If a webhook delivery fails, you can manually resend it using the API. This is useful for:- Recovering from temporary endpoint outages
- Retrying after fixing a bug in your webhook handler
- Testing your endpoint with real event data
API Endpoint
Example Request
Response
- Uses the original event payload
- Generates a fresh signature with a new timestamp
- Records the attempt in the delivery’s attempt history
- Returns the result immediately (synchronous)
Automatic Retries
When Nayax Energy Core sends a webhook, it automatically retries failed deliveries using exponential backoff:- Initial delivery: Attempted immediately when the event occurs
- Automatic retries: Up to 5 retries on failure
- Timeout: 30 seconds per request
Retry Schedule
The total retry window spans approximately 89 hours (~3.7 days) from the initial failure, giving your endpoint ample time to recover from outages.
A delivery is considered successful when your endpoint returns a
2xx status code. Any other response (or timeout) is treated as a failure and triggers the retry schedule.
Automatic Endpoint Disablement
To prevent unnecessary load from endpoints that are consistently failing, Nayax Energy Core automatically disables webhook endpoints that have not had a successful delivery for an extended period.Disablement Criteria
An endpoint is automatically disabled when all of the following conditions are true:- There have been delivery attempts within the last 7 days
- There have been no successful deliveries within the last 7 days
- The endpoint was created more than 7 days ago (new endpoints get a grace period)
What Happens When an Endpoint is Disabled
When an endpoint is automatically disabled:- The endpoint status changes from
activetoinactive - The endpoint stops receiving new webhook events
- Pending deliveries are removed from the retry queue
- Existing events and delivery history are preserved for 30 days
Re-enabling a Disabled Endpoint
If your endpoint was automatically disabled, you can re-enable it once you’ve resolved the underlying issue:- Fix the issue causing delivery failures (e.g., endpoint downtime, incorrect URL, authentication problems)
- Update the endpoint status via the API:
- Optionally, resend any failed deliveries that occurred while the endpoint was down
Tip: Monitor your webhook deliveries regularly to catch failures before they lead to automatic disablement. Set up alerts for consecutive failed deliveries to proactively address issues.