'how to get data from razorpay webhook

I enabled the webhook url in razorpay

Webhook

But I didn't understand how to get the data from webhook url when the payment is failed.

Give the best example to understand this concept

[and is it possible to get the data using postman also?]

I'm fresher in aspdot.net coding.



Solution 1:[1]

You'll need to set up the webhook in razorpay to send failed payment event. Click Edit on webhook details check the checkbox "payment.failed"

The webhook request will send 'event' with data 'payment.failed'

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Francis Lalnunmawia