JSPM

  • Created
  • Published
  • Downloads 132362
  • Score
    100M100P100Q203934F

A library for integrating with ChargeBee.

Package Exports

  • chargebee

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chargebee) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.