Chargebee

Configuration guide for the Chargebee connector in Recurly Engage, including activation, data sync, and 1-Click subscription actions.

Overview

The Chargebee integration allows you to sync your subscription data and execute billing actions directly from prompts in Recurly Engage, leveraging your existing Chargebee account.

Definition

The Chargebee connector imports subscription traits nightly across three data sources — subscription info, payment/dunning status, and payment source details — and provides actions for managing subscriptions via prompts.

Key benefits

  • Seamless billing workflows — Manage subscriptions, trials, coupons, and payment recovery without leaving the prompt interface.
  • Comprehensive data sync — Nightly imports pull subscription state, invoice/dunning status, and card expiration data to keep your segments and prompts accurate.
  • Flexible subscription actions — Support for the full subscription lifecycle, from onboarding through cancellation and reactivation.

Key steps

Activation

  1. Log in to your Chargebee account and generate an API key.
  2. In Recurly Engage, navigate to Settings > Integrations > Chargebee and paste your API key.
  3. Toggle Active to On.

Subscription traits

Trait NameDescription
stateCurrent state of the subscription (pending, active, cancelled, expired)
plan_codePlan the customer is subscribed to
currencyCurrency of the subscription
current_period_started_atDate/time when the current billing period started
current_period_ends_atDate/time when the current billing period ends
trial_started_atDate/time when the trial period began
trial_ends_atDate/time when the trial period ends
activated_atDate/time the subscription became active
cancelled_atDate/time the subscription was cancelled
expires_atDate/time when the subscription will churn

Dunning traits

Trait NameDescription
statusInvoice status (pending, processing, past_due, paid, failed, voided)

Payment traits

Trait NameDescription
card_expiry_monthMonth the payment card expires
card_expiry_yearYear the payment card expires

Supported actions

Once your connector is active and data is synced, you can attach these 1-Click actions to prompt interactions. The customer ID trait must be present on users.

ActionDescription
Switch SubscriptionChanges a user's subscription to a new plan
Create SubscriptionCreates a subscription for an existing customer account
Reactivate SubscriptionReactivates a user's cancelled or expired subscription
Cancel SubscriptionCancels a user's subscription at period end or immediately
Terminate SubscriptionImmediately deletes a subscription record
Update Auto CollectionToggles automatic card charging on or off
Pause SubscriptionTemporarily halts billing for a user
Resume SubscriptionRestarts billing for a paused user
Convert TrialConverts a trial to a paid subscription immediately
Extend Trial PeriodPushes the trial end date to a future date
Apply Coupon CodeApplies a coupon or discount to a user's subscription
Update Subscription PriceManually overrides the price on a per-subscription basis
Record UsageLogs a usage record for a subscription add-on (metered billing)