Affiliate software for Stripe-based SaaS
Refexa is affiliate and referral infrastructure for SaaS businesses that bill through Stripe. It credits each customer to one affiliate with a fixed rule, calculates commission from the payments Stripe actually collects, and reverses it when money goes back. No spreadsheets, and no guessing which sale came from where.
- Billing
- Stripe subscriptions and Checkout
- Attribution
- Last touch, 60-day window
- Commission
- Payable 30 days after payment
- Refexa fee
- 3% of affiliate revenue, capped $29 / €29 / £25 a month
Built for Stripe-based SaaS
Most SaaS revenue on Stripe arrives as subscription invoices and Checkout payments, and then changes: renewals, discounts, partial refunds, disputes. Refexa follows those Stripe events, records each collected payment exactly once however many times Stripe reports it, and keeps amounts in exact minor units of the currency your customer paid. Your billing stays exactly as it is.
Real revenue, not plan value
Commission follows money Stripe collected, after discounts and credits, excluding tax, before payment-processor fees.
Read-only Stripe access
Refexa connects as a read-only Stripe App. It cannot charge, refund or pay out from your account.
A ledger you can audit
Each commission records the rule it was calculated under. Refunds and disputes add entries; nothing past is edited.
Supported Stripe billing flows
Refexa supports the standard ways SaaS businesses charge through Stripe.
Stripe Billing subscriptions
Subscription invoices Stripe charges automatically, renewals included.
Stripe Checkout, subscription mode
Subscriptions started from a Checkout Session, and the invoices they produce.
Stripe Checkout, payment mode
One-time payments taken through a Checkout Session that has a Stripe customer. Stripe does not create one by default in payment mode, so pass an existing customer or set customer_creation to always.
Refunds
Full and partial refunds of those payments, including refunds through a credit note.
Disputes
Funds withdrawn for a dispute, and funds returned when you win it.
The full list, and what counts as revenue, is in the supported billing documentation.
From referral click to commission
01
Referral click
An approved affiliate shares their link. Refexa records the click and sends the visitor to your site with a visitor token in the URL.
02
Customer bind
When your server creates the customer, it makes one API call with your customer ID and the saved token. Refexa picks the affiliate from its own click records.
03
Stripe revenue
You link the Stripe customer in the same call or a later one. Refexa reads that customer’s paid invoices and Checkout payments through a read-only Stripe App.
04
Commission
Each supported payment becomes commission under your rule, in the currency the customer paid. It becomes payable 30 days after the payment.
The bind is a server-to-server call keyed on your own customer ID, so retrying it is safe. Request fields, responses and errors are in the customer bind API reference. Before you share links, you can check that your landing pages keep the tracking parameters.
Attribution rules
Refexa decides once, at the first bind, which affiliate gets a customer, using recorded clicks only. There is no probabilistic matching and no fingerprinting.
- Last touch, 60 days
- At the first bind, the most recent eligible click carrying the customer’s visitor token wins. Eligible means at or before the bind and no more than 60 days earlier.
- First bind decides
- Only the first bind for a customer looks at referral clicks. Later calls return the same answer, and a click after the first bind never moves the credit. A first bind with no token, or no eligible click, records the customer as not referred.
- Deterministic
- The same customer, token and clicks always give the same result. Your server cannot name an affiliate, and Refexa never matches payments to affiliates by email, name or amount.
- Self-referral protection
- If your server sends the customer’s email and it matches the email of the affiliate who would be credited, Refexa refuses the credit. Without that email the check cannot run, and attribution follows the click.
- Manual changes
- You can attribute, reassign or remove a customer from your dashboard, with a reason kept in the history. A removed attribution never comes back automatically.
- Payments before the click
- A payment made before the winning referral click, or before a manual attribution was created, never earns that affiliate commission. Later payments still can.
The 60-day window applies where browser and platform conditions permit: browser privacy controls can shorten how long a saved token lasts. A visitor who clicks on one device and signs up on another is credited only if your sign-up carries the token across.
Affiliate commission and the Refexa fee
Two separate amounts, owed to two different people. Refexa's fee is never taken out of the commission, and Refexa's cap never limits what an affiliate earns.
Affiliate commission
What you owe your affiliate
- A percentage you set, on the first payment only or recurring.
- Recurring can be lifetime or limited to a number of months.
- Calculated in the currency the customer paid, rounded to the exact minor unit.
- Payable 30 days after the payment. You pay the affiliate directly, then record the payout in Refexa.
Refexa fee
What you owe Refexa
- 3% of affiliate-generated revenue: the same revenue that earned the commission.
- Capped each calendar month per currency at $29 USD, €29 EUR, £25 GBP. The caps never combine and nothing is converted.
- No affiliate revenue means no fee. No base fee, setup fee or seats.
- Revenue in other currencies still earns your affiliates commission, with no Refexa fee.
Worked examples, the billing threshold and multi-currency months are on the Refexa pricing page. Still choosing a rate? Compare first-payment and recurring rewards with the affiliate commission calculator.
Refunds and disputes
Refexa never edits or deletes a past record. A refund or dispute adds a reversing entry next to the commission it affects, so the history shows what happened and when. Refunded or disputed affiliate revenue reverses its Refexa fee too, in the month of the original payment.
- Full refund
- The commission on that payment is reversed.
- Partial refund
- The commission is reversed pro rata, never more than the original commission.
- Dispute
- When Stripe withdraws funds for a dispute, the related commission is reversed, pro rata for a partial dispute.
- Dispute won
- When Stripe returns the funds, the reversed commission is restored with a further entry.
- Already paid
- Your payout record stays as it is. The reversed amount is carried forward against that affiliate’s future commission.
What Refexa does not support
Refexa prefers exact numbers to broad coverage. These flows are not supported:
- Direct PaymentIntent or Payment Element integrations that do not use Stripe Checkout.
- One-time Checkout payments without a Stripe customer, and Checkout payments that include shipping.
- Invoices sent for manual payment, and invoices settled from a customer credit balance.
- Any other Stripe flow Refexa cannot interpret exactly.
A payment Refexa cannot interpret is recorded as unsupported, with a reason. It earns no commission and carries no Refexa fee; Refexa does not estimate a number for it. Stripe Payment Links are not on the supported list. Refexa works with Stripe only, does not import past Stripe payments, and does not pay affiliates for you.
Is Refexa a good fit?
A good fit if you are
- SaaS businesses that bill customers through Stripe subscriptions or Stripe Checkout.
- Founders who want commission calculated from collected Stripe revenue, not from a spreadsheet.
- Teams that can add one server-side API call where customers are created.
- Programs paying a percentage commission, on the first payment or recurring.
- Founders happy to pay affiliates themselves, by bank transfer, PayPal, Wise or however they already pay.
Not a fit if you need
- Businesses that do not bill through Stripe.
- Products charging through custom PaymentIntent flows or manually paid invoices.
- Programs that need Refexa to send affiliate payouts. Refexa records payouts; it never moves money.
- Anyone who needs cross-device attribution without carrying the visitor token through their own sign-up.
- Anyone looking for affiliates to recruit. Refexa runs your program; it does not supply partners.
Questions
- Does Refexa change how I bill in Stripe?
- No. You keep your prices, products and Checkout as they are. Refexa reads payment, refund and dispute events through a read-only Stripe App and cannot create charges, refunds, subscriptions, transfers or payouts.
- What if a customer clicked two affiliates’ links?
- The most recent eligible click before the customer’s first bind wins, inside the 60-day window. One customer is credited to one affiliate at a time.
- Does Refexa import my past Stripe payments?
- No. Commission comes from customers you bind after you connect, and their payments from then on.
- Which currencies does Refexa handle?
- Commission stays in the currency your customer paid, with no conversion. Refexa’s fee is priced in USD, EUR, GBP; revenue in other currencies still earns your affiliates commission, with no Refexa fee.
Run your affiliate program on real Stripe revenue.
Create your program, connect Stripe, add one server-side bind and share your first affiliate link. No card needed to start.
Launch your affiliate programDrafting terms and recruitment emails first? Try the affiliate program launch kit.