Integrations · Payments and billing
Chargebee
Lets the concierge look up a customer's subscriptions, invoices and payments, and (if you allow it) refund an invoice, change or cancel a subscription.
Specified, built on request. This is what the Chargebee connection does, written from Chargebee’s own developer documentation. We build and test it with the first customer who asks. Ask for it.
What we ask of you
You create a read-only API key in Chargebee limited to transactional data and paste it into Usher, along with your Chargebee site name. If you want the concierge to refund or cancel, you create a second key for that. We never ask for your Chargebee login.
- Sign in to Chargebee and go to Settings > Configure Chargebee > API Keys and Events (shown as API Keys and Webhooks on some sites), then open API keys.
- Click + Add API Key and choose Read-only key.
- Choose Restricted and tick only Transactional data.
- Enter a name such as 'Usher concierge (read)' and click Create Key. Copy the key into Usher.
- Only if you want refunds or subscription changes: click + Add API Key again, choose Full-access key, choose the Write key option (create, read and update, but not delete), name it 'Usher concierge (actions)' and click Create Key. Copy it into Usher.
- Tell us your site name (the first part of your Chargebee address, for example acme in acme.chargebee.com).
We never ask for a password or an owner’s login.
The permissions it needs
| Permission | What it is for | Access |
|---|---|---|
Read-only key: Restricted (Transactional data) | Read customers, subscriptions, invoices, credit notes and transactions. | Read only |
Full-access key: Write key | Optional. Refund an invoice, change or cancel a subscription. Chargebee has no narrower key that allows these; a Write key cannot delete. | Can change |
What it can do
- Look up a customer by emailReads
- Look up a customer's subscriptionsReads
- See whether a payment succeededReads
- Look up a customer's invoicesReads
- Issue a refundOnly for amounts paid online; refunds go back through the original payment method and create a credit note. Partial refunds need gateway support. One transaction per call. Asynchronous.Changes something
- Cancel a subscriptionChanges something
- Change a subscriptionChanging plan needs item price IDs; reading the catalogue needs Product catalog access on the read key.Changes something
Anything that changes something is off until you switch it on, and stays inside the limits you set.
What it cannot do
- Give a key limited to refunds or subscriptions only: writes need a full-access key, which reaches every resource on the site.
- Refund offline payments through the refund call (they are recorded instead, not sent back).
- Read coupons with a restricted read-only key (Chargebee excludes them).
Limits and requirements
- Rate limits per minute on live sites: Starter 150, Performance 1,000, Enterprise 3,500 by default; test sites 150. Concurrency limits of 50 GET and 100 POST requests. Over the limit returns HTTP 429; on live sites repeated overages can lead to restrictions.
- Authentication is HTTP Basic with the API key as username and an empty password.
- Test and live sites are separate (for example acme-test and acme) with separate keys.
Your customers’ data
Customer names, email addresses, phone numbers, billing addresses and company names; subscription plans and status; invoice and credit note details; transaction amounts, dates, status and masked card details.
Chargebee is a trademark of its owner. Usher is not affiliated with or endorsed by Chargebee. Details are taken from its public developer documentation and may change; we confirm them when we build the connection.