Accounting as a Service provides a dedicated API for administrating Webhooks subscriptions and callback URLs.
You have to subscribe to a notification to receive updates via a webhook. The subscription process involves
Setting up an HTTPS-secured endpoint on your side that can receive notifications through POST requests.
It is recommended that you whitelist our IPs so that no other other system could access your end-point.
UAT IP : 20.76.134.255, 4.210.170.174
PROD IP : 20.103.56.175, 4.180.187.249
Make a POST request to /administration/v1/notification-callbacks to register your endpoint and the notification types you want to receive. You can add more than one callback end-points for the same notification type based on your business case. But be mindful that you will receive duplicate notifications and you need to filter notifications for example, if you want to listen to B2B notifications on one system filter based on the criteria of B2B and similarly you can listen to B2C notifications on another system.