Chargebee now supports two API versions - V1 and V2, of which V2 is the latest release and all future developments will happen in V2. This library is for API version V2. If you’re looking for V1, head to chargebee-v1 branch.
An attribute, apiversion, is added to the Event resource, which indicates the API version based on which the event content is structured. In your webhook servers, ensure this _api_version is the same as the API version used by your webhook server's client library.
Install the latest version 2.x.x of the library with the following commands:
npm install chargebee@">=2 <3"
Then require the library as:
var chargebee = require('chargebee');
The full documentation can be found on the chargebee site here:
See the LICENSE file.