# Getting started

> For the complete machine-readable documentation index, see [llms.txt](https://apidocs.chargebee.com/llms.txt).


**Important**

Starting November 1, 2025, Chargebee will briefly rotate TLS certificates on weekends to help you validate. The new DigiCert G2 chain becomes permanent in February 2026. If you don't update, API calls may fail with SSL errors. [Learn more about the TLS G2 certificate update](/docs/api/tls_certificate_update_g2).

Chargebee provides HTTP based API which follows the essence of [REST](http://en.wikipedia.org/wiki/Representational_state_transfer#RESTful_web_services)\*. The HTTP protocol's rules are followed thereby enabling simple HTTP client tools like "curl" to be used.

Chargebee also maintains official client libraries that wrap the HTTP API. See [Client Libraries](/docs/sdks) for supported languages and installation instructions.

#### Sample Snippets[](#sample-snippets)

Use the language bar at the top to view code examples in your chosen language.

#### Sample Apps[](#sample-apps)

Explore our suite of [sample applications](https://www.chargebee.com/tutorials), complete with tutorials to guide your integration with Chargebee.

#### Documentation[](#documentation)

For in-depth explanations and definitions of all Chargebee components, consult our [documentation](https://www.chargebee.com/docs/1.0/).

## Resources

Chargebee follows the REST model of exposing resources as urls. For example, subscriptions are exposed as:

## Client library

Chargebee maintains official open-source client libraries for PHP, Ruby, Python, Java, .NET, Node, and Go. See [Client Libraries](/docs/sdks) for installation instructions, code samples, and links to each repository.

To view this API reference tailored to the programming language of your choice, select the language in the "Library" dropdown above. Reach out to us at [dx@chargebee.com](mailto:dx@chargebee.com) if you'd like to request any other language bindings.

**Note**

Select the programming language of your choice from the "Library" dropdown at the top of the page.

## Build with LLMs

Chargebee's API is designed to work seamlessly with Large Language Models (LLMs) and AI assistants. The structured API definitions and comprehensive documentation make it easy to integrate Chargebee into AI-powered applications.

## OpenAPI Specification

Chargebee supports the [OpenAPI Specification](https://github.com/chargebee/openapi) to make it easier for developers to work with our APIs.

The spec is fully compliant with [OpenAPI v3.0.1](https://spec.openapis.org/oas/v3.0.1), enabling customers to:

-   Use API development tools like Swagger and Postman
-   Automate testing and documentation workflows

This is part of our commitment to providing a smoother, more efficient developer experience.

## Code samples

The sample code snippets provided for the endpoints in this documentation are ready-to-test. Once you [log in](https://app.chargebee.com/login?forward=https://apidocs.chargebee.com/docs/api/v1&ref=bhdocs) and select a test site using the dropdown that appears at the top, the code samples in this documentation automatically include your API key and site data.

## API testing

Chargebee provides the [Time Machine](/docs/api/time_machines) feature to help you test your integration. Once you've set up your billing configuration on the test site, you can simulate events on a hypothetical time frame to ensure everything works as expected. Ensure that you rigorously test your configuration before going live.

## Additional developer resources

Check out our collection of [sample applications and related tutorials](https://www.chargebee.com/tutorials) for integrating with Chargebee.