You can set up and edit webhooks from the Aasaan admin panel.
To set up webhooks:
Log in to the Aasaan admin panel and navigate to Manage.
Click Webhooks under General.
Click on create a webhook button.
In the Webhook Setup page:
- Enter the name of the webhook.
- Enter the Payload URL where you want to receive the webhook payload when an event is triggered. We recommend using an HTTPS URL.
- Enter a Secret for the webhook endpoint. The secret is used to validate that the webhook is from Aasaan. Do not expose the secret publicly.
- Select the required events from the list of Active Events.
Click on save to create the webhook.
After the webhook is saved make sure to enable it.