You sell something people pay for every month or every year. At first a payment link and a spreadsheet were enough. Now you have upgrades, downgrades, paused accounts, coupons, failed cards and an accountant asking when revenue was actually earned. Chargebee handles that recurring billing, and it does so through an API, a way for your own website, app or an AI assistant to create subscriptions, raise invoices and send quotes without anyone logging in to a billing screen. What I have catalogued about it is on its APIs.io profile.
What Chargebee does
Chargebee is a subscription billing and revenue management platform for SaaS and other subscription businesses. It automates recurring billing, invoicing, payments, dunning and revenue recognition. Dunning is the polite word for chasing failed payments: retrying the card and reminding the customer before an account lapses. Revenue recognition is the accounting rule about when money you have collected counts as earned. Chargebee’s site is chargebee.com.
What you can get done
Subscription Lifecycle Management
A subscription has a life: it starts, changes, pauses, resumes and ends. Handling those moments from your own product means a customer can upgrade or cancel themselves, and billing follows automatically.
POST /subscriptions/{subscription-id}/update_for_itemschanges what a customer is subscribed to, an upgrade or a downgrade.POST /subscriptions/{subscription-id}/resumerestarts a paused subscription.POST /subscriptions/{subscription-id}/cancel_for_itemscancels a subscription.POST /subscriptions/{subscription-id}/remove_couponstakes a discount off.POST /subscriptions/{subscription-id}/regenerate_invoicerebuilds an invoice after a change.
Customer Data Management
Every subscription belongs to a customer. Creating the customer and the subscription together at sign-up is the most common first job for this API.
POST /customers/{customer-id}/subscription_for_itemscreates a subscription for an existing customer.GET /customers/{customer-id}/subscriptionslists what a customer is paying for.POST /customers/{customer-id}/add_promotional_creditsgives a customer credit, a goodwill gesture after an outage, for instance.POST /customers/{customer-id}/import_for_itemsbrings in a subscription you are migrating from another system.
Invoicing & Statement Management
Invoices are where billing meets your accountant. These calls let your finance tools correct and settle invoices without manual edits.
POST /invoices/{invoice-id}/apply_paymentsrecords payments against an invoice.POST /invoices/{invoice-id}/stop_dunningstops the failed-payment reminders for an invoice, once you have sorted it out another way.POST /invoices/{invoice-id}/delete_line_itemsremoves a line that should not be there.POST /invoices/{invoice-id}/apply_payment_schedule_schemesplits an invoice into scheduled instalments.
Subscription Contracting
Bigger customers want a quote before they commit. Chargebee handles quotes, including signatures, so a sales deal can turn into a subscription without retyping.
GET /quotes/{quote-id}retrieves a quote.POST /quotes/{quote-id}/update_statusmoves a quote along, for example to accepted.POST /quotes/{quote-id}/extend_expiry_dategives a customer more time to decide.POST /quotes/{quote-id}/retrieve_signed_pdffetches the signed copy for your records.
Plan & Entitlement Design
Items are what you sell: plans, add-ons and charges. Managing them through the API keeps your pricing page and your billing in agreement.
GET /itemslists everything you sell.POST /itemscreates a new plan or add-on.GET /items/{item-id}/attached_itemsshows what is bundled with an item.
Chargebee also covers payment authorization and capture on the Subscription Billing & Revenue Management capability page.
Getting started
Chargebee is freemium with self-serve signup, and it is hosted, so you call their endpoint. On cost, the Pricing section of the profile records the Billing - Flow plan at $0 + 0.80%. The API documentation covers every call and how to authenticate with the API key tied to your Chargebee site.
On APIs.io, start with the Chargebee Subscriptions API, the Chargebee Customers API, the Chargebee Invoices API and the Chargebee Quotes API.
If cancellations and upgrades still arrive as support emails, let your product call the subscription calls directly and see how many of those emails stop.
