Handle Payment failure in hosted pages

Handle Payment failure in hosted pages

We have integrated Zoho hosted pages api for payment gateway and where we have scenario to handle the payment failed cases. So how do we handle the payment failed in webhook for new subscriptions.