To verify if webhooks are enabled:
Log into the Razorpay Dashboard and navigate to Account & Settings.
In the Website and app settings, click Webhooks.
Select the relevant webhook URL.
On the right panel, check if the status for payment.authorized, refund.created and virtual_account.credited is enabled.