# Chargebee

API configuration: `chargebee`

### Features

| Features                                                                                                                        | Status                        |
| ------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
| [Auth (API Key)](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/authorize-an-api/README.md) | ✅                             |
| [Sync data](https://terapi.gitbook.io/terapi-api-explorer/integrate/guides/sync-data-from-an-api)                               | ✅                             |
| [Perform workflows](https://terapi.gitbook.io/terapi-api-explorer/integrate/guides/perform-workflows-with-an-api)               | ✅                             |
| [Proxy requests](https://terapi.gitbook.io/terapi-api-explorer/integrate/guides/proxy-requests-to-an-api)                       | ✅                             |
| [Receive webhooks](https://terapi.gitbook.io/terapi-api-explorer/integrate/guides/receive-webhooks-from-an-api)                 | 🚫 (time to contribute: <48h) |

We can implement missing features in <48h, just ask for it in the community.

### Getting started

Chargebee provides REST APIs and webhooks to interact with their data. Currently, only the REST APIs are supported. [API docs](https://apidocs.chargebee.com/docs/api/)

### Connection configuration in Terapi

Chargebee requires a user-specific subdomain for the API base URL.

You should request this from the user and pass it to Terapi in the `terapi.auth()` call:

```js
terapi.auth('chargebee', '', });
```

Add Connection configuration in Terapi by [editing this page](https://github.com/shahab-bahojb-basketAsia/terapi-docs/blob/main/integrate/guides/connect-an-api/README.md).
