This is the node.js Library for integrating with Chargebee. Sign up for a Chargebee account here.
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, api_version, 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:
https://apidocs.chargebee.com/docs/api?lang=node
See the LICENSE file.