/

Chargebee

Payments connector

Chargebee

Receive Chargebee webhooks in Tessel as typed events for subscriptions, invoices and payments. Use them to recover failed payments and issue credit notes after a named person approves.

Connect Chargebee
Connect Chargebee
See setup steps
See setup steps

Payments

Category

Events

Sync mode

p95 540 ms

Latency

4 min

Setup time

What it can do

Triggers · 5
  • Subscription createdWebhook
  • Subscription renewedWebhook
  • Subscription canceledWebhook
  • Payment failedWebhook
  • Invoice generatedWebhook
Actions · 4
  • Retrieve a customerRead
  • Update a subscriptionWrite
  • Pause a subscriptionWrite
  • Issue a credit noteApproval

Overview

The Chargebee connector receives webhooks from your site and turns each event into a typed event with the subscription, customer and invoice attached. Deliveries are protected with basic auth, and every event appears in the trace of the run it started.

Revenue teams use it to start a dunning sequence in Intercom when a payment fails, to update the account owner in HubSpot on cancellation and to load new invoices into Snowflake each day.

Event coverage

  • subscription_created, subscription_renewed and subscription_cancelled

  • payment_succeeded, payment_failed and payment_refunded

  • invoice_generated and credit_note_created

How webhooks work

Chargebee posts each event to a Tessel URL in your workspace region. Tessel checks the credentials, validates the payload against the schema for your API version and starts the matching workflow. Events for one subscription are processed in order.

{
  "id": "ev_16BHbhF4s42tO2lK",
  "event_type": "payment_failed",
  "api_version": "v2",
  "content": {
    "subscription": { "id": "sub_AzZ8kY", "resource_version": 1728205440123 },
    "transaction": { "amount": 4900, "error_code": "card_declined" }
  }
}
{
  "id": "ev_16BHbhF4s42tO2lK",
  "event_type": "payment_failed",
  "api_version": "v2",
  "content": {
    "subscription": { "id": "sub_AzZ8kY", "resource_version": 1728205440123 },
    "transaction": { "amount": 4900, "error_code": "card_declined" }
  }
}
{
  "id": "ev_16BHbhF4s42tO2lK",
  "event_type": "payment_failed",
  "api_version": "v2",
  "content": {
    "subscription": { "id": "sub_AzZ8kY", "resource_version": 1728205440123 },
    "transaction": { "amount": 4900, "error_code": "card_declined" }
  }
}

Event ordering

Chargebee can deliver events out of order after a retry. Tessel compares resource_version on each record and skips any event older than one it has already processed.

Permissions needed

Create an API key for Tessel in Chargebee settings. It needs read access to customers, subscriptions and invoices. A full-access key is only required for subscription updates and credit notes.

  • A Read-Only Key with access to all resources, for triggers and lookups

  • A Full-Access Key only if a workflow writes back

  • Basic auth credentials on the webhook, stored in your region

Setup

Five steps. About four minutes.

Most of the time goes into the API key and webhook. Tessel checks both before you move on.

  1. Create an API key with the access belowChargebee1 min
  2. Add a webhook with basic auth pointing at TesselChargebee1 min
  3. Paste the site name, API key and webhook passwordTessel1 min
  4. Name an approver and a backup for credit notesTessel1 min
  5. Create a test subscription and watch the event arriveVerify540 ms

Your subscriptions, in a workflow today.

Connect Chargebee on the free plan. Up to three builders and 10,000 runs a month, no card required.

Connect Chargebee
Connect Chargebee
All integrations
All integrations

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

Create a free website with Framer, the website builder loved by startups, designers and agencies.