Chargebee
Subscriptions, customers, invoices, plans and recurring billing
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Chargebee siteRequiredSubdomain
- API keySecretRequired
Where to find them
- In Chargebee go to “Settings” → “Configure Chargebee” → “API Keys and Webhooks” → “API Keys” tab.
- Click “Add API Key” and choose the type: “Read-Only Key” (for everything or for some resources) if you will only be reading, or “Full-Access Key” to create and modify.
- Give it a name, create it and copy it. Each site (live and test) has its own keys.
Tools (1)
Chargebee API request
CHARGEBEE_SEND_REQUESTAuthenticated call to the Chargebee API (https://{site}.chargebee.com/api/v2). Any endpoint of the API is allowed. Writes are sent as a form (application/x-www-form-urlencoded), not JSON: use the “form” parameter, with keys like billing_address[city] or subscription_items[item_price_id][0]. Examples: GET /customers?email[is]=…, GET /subscriptions?status[is]=active&limit=50, GET /subscriptions/{id}, GET /invoices?status[is]=payment_due&sort_by[desc]=date, POST /invoices/{id}/pdf (download link), GET /item_prices?item_type[is]=plan, POST /customers form {"first_name": "…", "email": "…"}, POST /subscriptions/{id}/cancel_for_items form {"end_of_term": "true"}. Pagination: offset=next_offset.
Required scopes
No scopes required
Input
Chargebee API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

