Chargebee Webhook Configuration
In this guide will be discussed the steps to configure Chargebee webhooks.
​
When your application needs to know and act upon certain events when they occur in Chargebee such as an account being created/updated or a subscription that created/canceled, you can use webhooks to notify your application. You can configure Chargebee to notify your system via a webhook call .
Configure Webhooks
Firstly go to https://www.chargebee.com/ and create an account after login choose site and you will be redirected to dashboard.
To configure your webhooks, go to Settings > Configure Chargebee > API Keys and Webhooks. Then switch to the Webhooks tab.
![cb1.png](https://static.wixstatic.com/media/4e6539_fd796729221649fe8df0800254cc636c~mv2.png/v1/fill/w_704,h_198,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/cb1.png)
To create a webhook click Add Webhook. You can create up to five webhooks.
![cb2.png](https://static.wixstatic.com/media/4e6539_91e4145ca2424782ba3d7460391d4403~mv2.png/v1/fill/w_704,h_481,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/cb2.png)
Webhook Name and URL
The webhook name is the name by which the webhook will be referred to chargebee. (beta_backoffice_webhook). The URL is the one that our app will be listening to the webhook where API created is apiv2/chargebee/subsription_created.
Test Webhooks
After created you can test your webhook.
-
Click on Test Webhook.
-
Choose an event to test with.
-
Click Test URL . The request is send , see the response received that will be displayed.
Update or Remove Webhooks
![cb3.png](https://static.wixstatic.com/media/4e6539_c94e9b91bfd74f9cb6d6538e9dae3d37~mv2.png/v1/fill/w_698,h_187,al_c,lg_1,q_85,enc_avif,quality_auto/cb3.png)
To change configuration or to delete it , click on More Options menu.