Create a new webhook API endpoint on your Chargebee Site.
Sample Request
URL Format
Input Parameters
The API version used to format the webhook payload. Ensure this version matches the client library used by your webhook server
If selected, the payload includes only attributes from API v1 resources.
If selected, the payload includes only attributes from API v2 resources.
The target URL where webhook notifications will be sent.
Note
Only URL ports 80, 443, 8080, or 8443 are allowed.
Indicates whether this webhook is marked as the primary endpoint. If only one exists, it is primary by default.
Indicates whether the webhook endpoint is disabled. Set to true
to disable the endpoint, set to false
to enable the endpoint.
The password used for basic authentication to secure webhook delivery.
Username for basic authentication used to secure webhook delivery.
Controls whether card-related resources are included in the webhook payload. Card details are always masked.
Indicates the response schema used in the webhook payload, based on the product catalog version configured for the site.
Note
This field is only applicable if the site is in compat mode.
The webhook payload follows the Product Catalog 1.0 schema and uses the Plans and Addons model.
The webhook payload follows the Product Catalog 2.0 schema and uses the Items API model .
The webhook payload uses a schema compatible with both Product Catalog 1.0 and 2.0. This is applicable only to sites automatically upgraded to Product Catalog 2.0.
A list of event types that trigger this webhook.
Note If this field is left empty, the webhook will enable all event types by default.