If your server was unreachable or returned a non-2xx response, Razorpay retries the webhook for 24 hours and then stops.
Mention - If you've subscribed to webhook events and your server was unavailable or returned a non-2xx response, Razorpay retries the trigger for 24 hours before disabling the endpoint.