chargebee

A library for integrating with ChargeBee.

Usage no npm install needed!

<script type="module">
  import chargebee from 'https://cdn.skypack.dev/chargebee';
</script>

README

Chargebee Node Client Library - API V2

npm npm

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.

Processing Webhooks - API Version Check

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.

Installation

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');

Documentation

The full documentation can be found on the chargebee site here:

https://apidocs.chargebee.com/docs/api?lang=node

License

See the LICENSE file.