The Chargebee API has two major versions: v1 and v2. Use the toggle at the top of the page to switch between these versions.
Some breaking changes have been introduced in version 2 of our API, which has resulted in the creation of a newer sub-version. When viewing the documentation for v2, you can select the specific sub-version using the Product Catalog selector at the top of the page. The term "Product Catalog" is used because the changes introduced are primarily related to the Product Catalog APIs, such as Plans API.
To determine which sub-version applies to your site, log in to Chargebee and return to this site. You will then be prompted to switch to the appropriate documentation version for your site.
See also
/api/v2
whereas for v1, it begins with /api/v1
. For example:
https://{subdomain}.chargebee.com/api/v2/customers
https://{subdomain}.chargebee.com/api/v1/customers
api_version
. The schema of the payload is determined by the API version.