Workflows
Blocks
Integrations
Chargebee

Chargebee Action Block

What it does: Manages customers, subscriptions and invoices in your Chargebee billing site, and generates hosted checkout / self-serve portal links.

💳

In simple terms: Sign a customer up for a plan, change or cancel their subscription, chase an unpaid invoice, or hand them a checkout link — all from inside a workflow.

Credentials

FieldDescription
SiteYour Chargebee subdomain — the acme-test in acme-test.chargebee.com. A full URL is accepted and trimmed automatically.
API KeyA full-access API key from Admin Console → Settings → Configure Chargebee → API Keys. Sent as HTTP Basic auth.

Actions

ActionWhat it doesOutput
Create / Update CustomerCreates or updates a customer with email, name, company, phone, billing address and metadatacustomer object
Get CustomerFetches one customer by idcustomer object
List CustomersLists customers, optionally filtered by emaillist, next_offset, has_more
Delete CustomerPermanently deletes a customercustomer object
Create SubscriptionSubscribes a customer to an item price (subscription_for_items) with quantity, trial end and couponssubscription, customer, invoice
Get / List SubscriptionsFetches one subscription, or lists them filtered by customer and statusSubscription object / paged list
Update SubscriptionSwitches plan, changes quantity or applies coupons (update_for_items)subscription
Cancel SubscriptionCancels immediately, or at the end of the term with End Of Term = truesubscription
Reactivate / Pause / Resume SubscriptionLifecycle controls, with pause_option / resume_optionsubscription
List / Get InvoiceLists invoices by customer, subscription or status, or fetches onePaged list / invoice
Collect Invoice PaymentRetries collection on an unpaid invoiceinvoice, transaction
Void InvoiceVoids an invoiceinvoice
Invoice PDFGenerates a time-limited PDF download linkurl, valid_till
List Items / List Item PricesReads your product catalogPaged list
Create Checkout URLHosted checkout page for an item priceurl (send this to the customer)
Create Portal SessionSelf-serve billing portal session for a customerurl (the portal access_url)

Tips

  • Pagination: list actions return next_offset. Feed it into the Offset field of the next call and stop when has_more is false.
  • Item price ids look like pro-plan-USD-Monthly. Use List Item Prices once to discover them.
  • Trial End takes a Unix timestamp in seconds; 0 starts billing immediately with no trial.
  • Billing Address and Metadata are JSON objects — the block flattens the address into Chargebee's billing_address[...] form fields for you.
  • Errors surface Chargebee's api_error_code alongside the HTTP status, e.g. Chargebee error (404) [resource_not_found]: ....
Indite Documentation v1.7.1
PrivacyTermsSupport