RekomiRekomiVerified Stripe PartnerVerified Stripe Partner
DemoPricing
Sign inStart free trial
Start free trial
← Back to blog
|Guides|

How to Set Up a Chargebee Affiliate Program in 2026

July 12, 2026·9 min read·Graham Caldwell
How to Set Up a Chargebee Affiliate Program in 2026

TL;DR. Chargebee doesn’t ship a built-in affiliate program, so you add one in one of three ways: build your own webhook consumer, write a relay into a generic S2S tracking API, or connect a platform that speaks Chargebee natively. Native is the 20-minute route: paste your site name and a Read-Only API key, add one webhook, and payments, renewals, and refunds track themselves.

Whichever route you pick, attribution is the part to get right. Chargebee hosts the checkout on its own domain, so the referral has to travel on the subscription itself, as meta_data.rekomi_ref or a cf_rekomi_ref custom field. This guide walks all three routes with honest tradeoffs, then the full setup.

Subscription analytics dashboard on a laptop, the view a Chargebee affiliate program feeds
Photo by Luke Chesser on Unsplash

I’ve wired affiliate tracking into more billing platforms than I can count building Rekomi, and I run Rekomi’s own affiliate program on it. Setting up a Chargebee affiliate program is a case I like a lot: Chargebee doesn’t ship affiliate tracking in the box, but its webhook and credit-note model makes it one of the cleanest billing platforms to attach a program to.

This guide covers the whole path: why affiliate programs fit Chargebee businesses so well, the three ways to wire one up, and a setup walkthrough that takes about 20 minutes end to end. If you’re still comparing tools across the whole market, my guide to affiliate tracking software does that job; this one stays focused on Chargebee.

Why Chargebee brands add affiliate programs

Because subscription billing turns one referral into months or years of revenue, an affiliate program fits a Chargebee business better than almost any other paid channel. A referred $79/mo customer who stays 18 months is $1,422 in revenue from a single link click, and you only pay commission after each payment actually lands. Compare that with ads, where you pay for the click whether or not it converts.

The recurring shape matters on the affiliate’s side too. Recurring commissions become real monthly income for your partners, which is why good affiliates seek out subscription offers; across programs running on Rekomi, most SaaS offers land between 20 and 30% revenue share. Whether you call it an affiliate program or a referral program, the mechanics are the same: track the click, attribute the subscription, pay on real revenue.

There’s also a quietly great property specific to Chargebee: it sits on top of whatever payment gateway you already run. Track at the Chargebee layer and your program is gateway-agnostic; Stripe, Braintree, PayPal, whatever processes the card, the same webhooks report the payment. Your payment routing doesn’t change at all.

The three ways to add an affiliate program to Chargebee

If you’ve browsed Chargebee integrations directories looking for affiliate tools, you’ve probably noticed the coverage is uneven. That’s because there are really three routes, and only one of them shows up in a directory.

Route 1: build it yourself on Chargebee webhooks

Chargebee’s webhooks give you everything you need in raw form: payment_succeeded, payment_refunded, the subscription lifecycle events, and credit_note_created. Consume those, store your own attribution, compute commissions, and you have a program with full control and no vendor.

The tradeoffs are real, though. Chargebee doesn’t support webhook signing, so authenticating deliveries is your problem to engineer. Retries continue for up to two days, so you need de-duplication by event id or you’ll double-count sales. Partial refunds need proportional clawback math. And that’s before the affiliate-facing half: signup pages, dashboards, link tracking, payouts, and tax forms. It’s a solid quarter of engineering for a solved problem, which is why I’d only pick this route if your program itself is the product.

Route 2: relay events into a generic S2S API

Most affiliate platforms expose a server-to-server API, so any of them can technically track Chargebee: you write a small relay service that listens to Chargebee webhooks and forwards conversions. This is how brands run Chargebee on platforms with no native support, and it does work.

But you own the relay. Renewals, refunds, retries, and the attribution hop from browser to subscription are all your code, forever. Here’s my one strong opinion on this page: if your commission data depends on a relay you wrote in an afternoon, that relay is now the most fragile piece of your program. Nobody monitors it, it fails silently, and you find out at payout time when an affiliate asks where their conversions went.

Route 3: connect a platform with native Chargebee support

The native route means the platform maintains the Chargebee integration and you paste credentials instead of writing code. Chargebee is reasonably well covered here: FirstPromoter, Tolt, PartnerStack, and Tapfiliate all ship Chargebee integrations, and Rekomi does too. The notable absence is Rewardful, which supports Stripe and Paddle only; it’s a good product on those two rails, it just isn’t an option for Chargebee billing.

For nearly every Chargebee business, this is the right route. The integration is somebody’s maintained product rather than your side project, and the renewal and refund handling that makes subscription attribution hard is exactly the part the platform has already solved.

Rekomi’s Chargebee integration is native and available on every plan, from $19/mo plus 3% of affiliate payouts, with payouts and tax forms handled for you. It listens to Chargebee rather than the gateway underneath, so it’s gateway-agnostic by design, and refunds and Chargeback Management chargebacks claw commissions back automatically. Full plan details are on the pricing page, and every plan starts with a 14-day free trial.

Founder connecting Chargebee to affiliate tracking software on a laptop
Photo by Campaign Creators on Unsplash

The 20-minute setup, step by step

Here’s the native setup at summary level, using Rekomi as the example. The Chargebee install doc has every step with copy-paste snippets; this is the shape of it.

  1. Grab your site name and a Read-Only API key. Your site name is the subdomain of your Chargebee URL: acme from acme.chargebee.com. Create the key under Settings > Configure Chargebee > API Keys and Webhooks, choosing the Read-Only type. It’s used to validate the connection and run health checks, never to change anything in your site.
  2. Connect in Rekomi. The setup page shows your per-workspace webhook URL plus Basic Authentication credentials it generates for you. The password is shown exactly once and stored encrypted, so copy it now; if you lose it, there’s a Regenerate button. Enter your site name and the key, and Rekomi validates the pair live against your site.
  3. Add the webhook in Chargebee. Paste the URL, turn on “Protect webhook URL with basic authentication” with those credentials, set the API version to V2 (V1 deliveries are rejected), check “Exclude card information,” and select the payment, subscription, and credit-note events. An “All Events” configuration works too.
  4. Stamp the referral onto checkouts. This step is required: Chargebee hosts the checkout, so without it payments arrive with no referral and nobody gets credited. Install the tracking script on your marketing site, then pass window.Rekomi.getReferral() as meta_data.rekomi_ref on API-created subscriptions, or stamp a cf_rekomi_ref custom field onto hosted-page URLs and the drop-in script with a copy-paste snippet.

One thing I’d flag on security, because it’s the honest version: Chargebee doesn’t support webhook signing, so there’s no signing secret like you’d see with Stripe. Rekomi generates Basic Authentication credentials instead and authenticates every delivery against them before anything is processed, on top of an unguessable per-workspace URL. I’d rather state that plainly than pretend a signature exists.

Rehearse before going live. Chargebee test sites (the ones ending in -test) have their own keys and webhooks, so connect one to a sandbox workspace, pay with a test card, and the conversion appears on the campaign’s Activity tab within a minute. Then use Chargebee’s Time Machine to jump a billing term forward and watch the renewal credit the same affiliate. The whole rehearsal takes ten minutes and removes every surprise from launch day!

What Chargebee affiliate tracking records automatically

Once connected, the events do all the work. Here’s what flows through:

  • Payments. The first successful payment of a subscription books the first conversion, and one-time charges book one-time conversions, both on payment_succeeded.
  • Renewals. Every successful renewal payment records a recurring conversion, so revenue-share commissions keep accruing for the life of the subscription.
  • Signups. subscription_created is recorded as a zero-value event, tying the customer to the affiliate before any money moves.
  • Refunds. Full or partial, they claw commission back proportionally when payment_refunded fires, in the same audit trail as the original conversion.
  • Chargebacks. Disputes handled through Chargebee’s Chargeback Management feature arrive as refunds and credit notes and claw back the same way.

Now the fun part, the math. Say a referred customer pays $79/mo and your offer is 25% revenue share. The affiliate earns $19.75 when the first payment lands, then $19.75 again on every renewal, with no work from you or them. In month four you refund 40% of an invoice, $31.60 back to the customer; payment_refunded fires and $7.90 of that month’s commission claws back automatically. Your payout ledger stays correct without anyone doing spreadsheet surgery.

I build payout and clawback plumbing all day, and Chargebee’s credit-note model is genuinely one of the cleanest to integrate against: every cash refund is a refundable credit note, so proportional clawback math falls out naturally. One honest caveat: disputes you resolve directly at your payment gateway, outside Chargeback Management, never generate Chargebee events, so no tracking tool can see them. Adjust those by hand if one matters for a payout.

Charts tracking recurring affiliate commissions from Chargebee renewals
Photo by Lukas Blazek on Unsplash

Chargebee affiliate program FAQ

Does Chargebee have a built-in affiliate program?

No. Chargebee is subscription billing on top of your payment gateway; it doesn’t ship affiliate tracking the way, say, Lemon Squeezy does. You add a program through one of the three routes above: build on the webhooks yourself, relay into a generic S2S API, or connect a platform with native Chargebee support.

Which affiliate software supports Chargebee natively?

Rekomi, FirstPromoter, Tolt, PartnerStack, and Tapfiliate all ship native Chargebee integrations. Rewardful doesn’t; it supports Stripe and Paddle only. If a platform isn’t on that list, it can usually still track Chargebee through its server-to-server API, but you’ll be writing and maintaining the relay yourself.

Do commissions track on subscription renewals?

Yes. Every successful renewal payment records a recurring conversion, and the referral set at signup stays on the subscription, so the same affiliate keeps earning for the life of the customer. There’s also a fallback to the customer’s conversion history, so renewals credit correctly even in edge cases.

What happens to commissions when a customer is refunded?

They claw back automatically and proportionally. A 40% refund reverses 40% of the commission; a full refund reverses all of it. Chargebacks handled through Chargebee’s Chargeback Management feature flow through the same pipe and claw back too, all in the same audit trail as the original conversion.

Does the payment gateway under Chargebee matter?

No. Tracking listens to Chargebee, the billing source of truth, not to the gateway underneath. Stripe, Braintree, PayPal, or anything else Chargebee supports: the same webhooks report every payment, and nothing about your payment routing changes.

Can I test a Chargebee affiliate program before going live?

Definitely. Chargebee test sites are fully separate, with their own API keys and webhooks, and the Chargebee Test Gateway lets you pay with test cards. Connect the test site, run a checkout with a referral attached, advance a billing term with Time Machine, then refund the invoice and watch the clawback. When everything behaves, repeat the connection on your live site.

Set it up this afternoon

Here’s your next 15 minutes: log into Chargebee, create a Read-Only API key on your test site, and open the Chargebee install guide side by side. By the time your coffee’s done you’ll have a test conversion on the board, and going live is the same four steps on your production site.

If you’re weighing platforms first, the Chargebee integration page shows exactly what Rekomi tracks and how it’s secured, and every plan comes with a 14-day free trial, so the whole rehearsal costs nothing.

|Try Rekomi|

Run a SaaS affiliate program that compounds revenue.

Native attribution for Stripe, Paddle, Braintree, and more (any other gateway via S2S), refund-aware payouts, a built-in creator network. 14-day free trial. No card needed.

Start your trial →See pricingI am a creator →
|On this page|
  1. Why Chargebee brands add affiliate programs
  2. The three ways to add an affiliate program to Chargebee
  3. Route 1: build it yourself on Chargebee webhooks
  4. Route 2: relay events into a generic S2S API
  5. Route 3: connect a platform with native Chargebee support
  6. The 20-minute setup, step by step
  7. What Chargebee affiliate tracking records automatically
  8. Chargebee affiliate program FAQ
  9. Does Chargebee have a built-in affiliate program?
  10. Which affiliate software supports Chargebee natively?
  11. Do commissions track on subscription renewals?
  12. What happens to commissions when a customer is refunded?
  13. Does the payment gateway under Chargebee matter?
  14. Can I test a Chargebee affiliate program before going live?
  15. Set it up this afternoon
|Browse by category|
Alternatives19Best Tools1Case Studies1Ecommerce12Guides18Product Updates1SaaS18
|Recent posts|
  • CPA Marketing: How Cost-Per-Action Affiliate Programs Work

    Jul 13, 2026

    CPA Marketing: How Cost-Per-Action Affiliate Programs Work

  • How to Run a Pay-Per-Lead or Pay-Per-Click Affiliate Program (2026)

    Jul 13, 2026

    How to Run a Pay-Per-Lead or Pay-Per-Click Affiliate Program (2026)

  • Affiliate Fraud: The Types, How to Detect It, and How to Stop It

    Jul 13, 2026

    Affiliate Fraud: The Types, How to Detect It, and How to Stop It

  • Gumroad Affiliates: How the Built-In Program Works (and When You Need More)

    Jul 12, 2026

    Gumroad Affiliates: How the Built-In Program Works (and When You Need More)

|Keep reading|

Related posts

All posts →
CPA Marketing: How Cost-Per-Action Affiliate Programs WorkGuides

Jul 13, 2026 · 7 min read · Graham Caldwell

CPA Marketing: How Cost-Per-Action Affiliate Programs Work

CPA marketing pays partners per action, not per sale. What CPA means, how it works, how it compares to CPC, CPL, and CPS, and how to prevent fraud.

Read post →

How to Run a Pay-Per-Lead or Pay-Per-Click Affiliate Program (2026)Guides

Jul 13, 2026 · 7 min read · Graham Caldwell

How to Run a Pay-Per-Lead or Pay-Per-Click Affiliate Program (2026)

When to run a pay-per-lead or pay-per-click affiliate program, how to set one up, and how to keep it honest with real-time fraud scoring.

Read post →

Affiliate Fraud: The Types, How to Detect It, and How to Stop ItGuides

Jul 13, 2026 · 11 min read · Graham Caldwell

Affiliate Fraud: The Types, How to Detect It, and How to Stop It

Affiliate fraud drains budgets and poisons your data. Learn the main types, how to detect fraud in real time, and how to stop it before you pay.

Read post →

New conversion+$84.00 · Lauren A.
Payout sent$8,420 · Stripe Connect
|Ready to start your campaign?|

Ten minutes to first click.

14-day free trial. Native Stripe, Paddle, Braintree, and more. No card. Live this afternoon.

View pricing
  • 14-day free trial
  • Cancel anytime, $0 charged
RekomiRekomi

Affiliate marketing software for SaaS, AI tools, and subscription brands.

Uplup Inc. · Miami, FL · USA
Verified Stripe Partner
Rekomi on G2Rekomi on TrustpilotRekomi on CapterraRekomi on SourceForge

Product

  • Features
  • Tracking
  • CPC & CPL
  • Fraud protection
  • Payouts
  • AI co-pilot
  • MCP
  • Network
  • Integrations
  • Security
  • Pricing
  • For SaaS
  • For ecommerce
  • For AI tools
  • For courses
  • For agencies

Compare

  • vs Rewardful
  • vs FirstPromoter
  • vs PartnerStack
  • vs Tapfiliate
  • vs Dub Partners

Payment gateways

  • Stripe
  • Stripe Marketplace app
  • Paddle
  • Braintree
  • Shopify
  • Lemon Squeezy
  • Chargebee
  • Polar
  • Recurly
  • Gumroad
  • Creem
  • Dodo Payments
  • Any gateway (S2S API)

Integrations

  • Mailchimp
  • Klaviyo
  • ConvertKit (Kit)
  • ActiveCampaign
  • Brevo
  • Beehiiv
  • Omnisend
  • Zapier
  • See all 38 →

For creators

  • Why join
  • How the network works
  • Create creator account
  • Creator sign-in

Company

  • About
  • Book a demo
  • Affiliate program
  • Blog
  • Docs
  • Security
  • Trust center
  • Terms
  • Affiliate Terms
  • Privacy
  • Refund policy
  • DPA
  • Acceptable use
  • Cookie policy
  • Sub-processors

© 2026 Uplup Inc. All rights reserved.