Affiliate software for Stripe

Launch a Stripe affiliate program in minutes

Refindie connects to your Stripe account, attributes every payment and subscription renewal to the affiliate who sent the customer, and calculates commissions for you. From $12/month or $79 lifetime, with no transaction fees.

  • Checkout, PaymentIntents, Subscriptions and Invoicing supported
  • Recurring commissions on renewals
  • Automated affiliate payouts with thresholds
Refindie dashboard showing affiliate revenue tracked from Stripe payments

Stripe handles payments. It doesn't track affiliates.

Stripe has no built-in affiliate or referral program feature. It knows a customer paid, but not which partner, creator or customer sent them. To pay commissions on Stripe revenue, you need something that remembers the referral when a visitor lands on your site and links it to the Stripe payment that follows.

That is what Refindie does: a referral cookie on your site, two metadata keys on your Stripe object, and commissions calculated from your real Stripe events. No spreadsheet matching payments to affiliates by hand.

How to set up affiliate tracking on Stripe

Four steps, about 15 minutes for a developer. Your existing Stripe checkout stays as it is.

  1. 1

    Connect your Stripe account

    In Settings > Integration, connect Stripe through Stripe's own OAuth screen. Refindie never asks for your secret key.

  2. 2

    Add the tracking script

    Paste one script tag in your site's <head>. It reads the affiliate's referral link and stores it in a cookie for the duration you choose.

    In your site's <head>
    <script
      async
      src="https://www.refindie.com/refindie.js"
      data-program-id="YOUR_PROGRAM_ID"
    ></script>
  3. 3

    Pass the referral to Stripe

    Send window.refindie_metadata to your server and attach it as metadata on the Checkout Session, PaymentIntent, subscription or invoice you create. Two keys, a few lines of code.

    On your server (Stripe Checkout)
    const session = await stripe.checkout.sessions.create({
      mode: "subscription",
      // ...your line items and URLs
      metadata: {
        program_id: String(refindieMetadata.program_id),
        ref_code: refindieMetadata.ref_code,
      },
    });
  4. 4

    Refindie records the commission

    Refindie listens to your Stripe events and credits the right affiliate when the payment succeeds, including every subscription renewal.

Full examples for PaymentIntents, the Subscriptions API and invoices are in the Stripe setup guide.

Which Stripe payment flows are tracked

Stripe doesn't copy metadata between objects, so the referral goes on the object you create. Refindie knows where to look for each flow below.

Your Stripe integrationReferral goes onTracking
Checkout Session, one-time paymentSession metadataTracked
Checkout Session, subscriptionSession metadataFirst payment + renewals
Checkout with free trial or 100% couponSession metadataFirst paid invoice + renewals
Delayed payment methods (SEPA Debit, bank transfer)Session metadataOnce the payment succeeds
PaymentIntents (Payment Element, Card Element, mobile SDKs)PaymentIntent metadataTracked
Subscriptions API (no Checkout)Subscription metadataFirst payment + renewals
Stripe Invoicing (one-off invoices)Invoice metadataTracked
Payment Links, Buy Button, Pricing TableNo dynamic metadataAffiliate promotion codes, or the Referral API
Legacy Charges APINot supportedUse the Referral API

Not on a supported flow? The Referral API records a sale server-to-server with your program API key.

Commission rules you control

Percentage or fixed commissions

Pay 20% of each sale or a fixed amount per conversion, per program.

Recurring commissions with a time limit

Choose how long affiliates earn on a customer's renewals, for example 12 months or for the lifetime of the subscription.

Cookie duration

Decide how many days a click stays attributed to the affiliate who sent it.

Affiliate promotion codes

Give affiliates their own Stripe promotion code. Refindie detects it on Checkout Sessions and invoices, even without metadata (Growth and Unlimited plans).

Automated payouts with thresholds

Set the balance an affiliate must reach, and payouts run on your schedule once they cross it.

Per-link analytics

Clicks, conversions and revenue for every affiliate and every link, so you know who actually drives Stripe revenue.

Not sure what rate to offer? Model it with the free affiliate commission calculator.

See which affiliates drive Stripe revenue

Revenue, transactions and clicks by day, week or month, per affiliate and per link.

Period
Group by

Refindie vs Rewardful for Stripe

Rewardful is the usual choice for Stripe affiliate programs. Here is how the cost compares.

RewardfulRefindie
Monthly price$49 to $149+/month$12 to $45/month
One-time optionNone$79 Lifetime
Transaction feesNoneNone
Several programs, one accountOne program per planYes

Read the full Refindie vs Rewardful comparison.

What to know before you start

Stripe affiliate program FAQ

Does Stripe have a built-in affiliate program feature?

No. Stripe processes payments, subscriptions and promotion codes, but it does not track which affiliate sent a customer or calculate commissions. You need an affiliate tool that connects to Stripe, like Refindie, to attribute payments to affiliates.

Do I need to write code to track Stripe affiliate sales?

A little. You paste one script tag on your site and add two metadata keys (program_id and ref_code) to the Stripe object you already create at checkout. Most developers do it in under 15 minutes. If you only use Payment Links, affiliate promotion codes work without code.

Are recurring subscription payments tracked?

Yes. For Stripe Checkout subscriptions and the Subscriptions API, Refindie credits the first payment and every renewal to the referring affiliate, within the commission duration you set.

Does it work with Stripe Payment Links or the Buy Button?

Partially. Payment Links, the Buy Button and Pricing Tables cannot carry dynamic metadata, so attribution relies on affiliate promotion codes. For full link-based tracking, use Stripe Checkout or the Referral API.

How are affiliates paid?

Refindie calculates what each affiliate is owed and automates payouts once they reach the minimum payout threshold you set, on the schedule you choose.

How much does Refindie cost compared with Rewardful?

Refindie starts at $12/month, goes up to $45/month for unlimited affiliate revenue, or $79 one-time for the Lifetime plan, with no transaction fees. Rewardful starts at $49/month.

Can I run several affiliate programs on one Stripe account?

Yes. You can manage several programs from one Refindie account, and affiliates can follow all the programs they promote from a single dashboard.

Turn your Stripe customers' network into revenue

Connect Stripe, add the script, and invite your first affiliates today.

From $12/month or $79 lifetime. No transaction fees.