This is a staging build of the docs
We've reorganized our products to make building with Codat easier than ever
Skip to main content

Use the Chargebee integration

When an SMB user has linked their Chargebee account, access their subscriptions and billing data by making proxy requests to the Chargebee API

The Chargebee integration doesn't yet expose standardized data types or provide any data visualization or metrics (for example, in Lending).

Instead, when an SMB user has linked their Chargebee account, you can access their subscriptions and billing data through the proxy endpoint in the Codat API. Only GET requests are currently supported.

By default, Codat disables users from making proxy requests. To enable proxy for Chargebee, contact your account manager or support.

Send a proxy request

To proxy to the Chargebee API, send a GET request to the proxy endpoint:

GET /companies/{companyId}/connections/{connectionId}/data/proxy?endpoint=CHARGEBEE_ENDPOINT

Replace CHARGEBEE_ENDPOINT with the desired Chargebee API object, which must be URL encoded.

For example, to view a company's customers in Chargebee, send the following request:

GET /companies/{companyId}/connections/{connectionId}/data/proxy?endpoint=v2/customers

To view a list of all available endpoints, see the Chargebee API documentation.


Was this page useful?
❤️
👍
🤔
👎
😭