Webhooks are the user specified HTTP callbacks that get triggered by some event reactions and used to connect two applications. It’s a way to send response payload from Paytm server to a unique URL or endpoints which is configured at Paytm’s end to notify the updated status of transaction, refund, etc. Unlike an API, where you need to poll the data frequently to get the real time information, it lets you receive the automated, instant, real-time data from Paytm server to your server on occurence of a given event.
To consume a webhook, initially you must configure a URL at Paytm’s end that is accessible from the public web, the URL should be capable of handling the updated event/response sent by Paytm.
Let’s assume, an event triggers upon updating an offer on a source site, the webhook perceives the event, then collects the relevant data, and sends it to the URL specified by you in the form of an HTTP request to communicate about the triggered event.
Similarly it provides the mechanism to Paytm Payment gateway to notify your customer on the URL provided by them about an occurrence outside the flow.
You can configure the following events notifications and separate webhooks URLs for both Test and Production mode.
To get the webhook configured for the above use cases, please Get in touch with us.