How it works
An affiliate gets a way to be credited: a link with an ID, or a promotion code of their own. When a buyer pays, the sale is attributed to that affiliate. You then pay a share of it, on a schedule you set.
Terms to decide before you start:
- The rate: a percentage of the sale, or a fixed amount.
- Recurring or one time: commission on the first payment only, or on every subscription renewal.
- The attribution window: how long after a click the sale still counts.
- The hold period: how long you wait before paying.
- The payout method and minimum balance.
A worked example
A license costs $49 and the commission is 20 percent: 49 x 0.20 = $9.80 per sale.
Now the refund window. An example run of 100 referred sales with 6 refunds, and a 30-day refund policy:
| Payout rule | Calculation | Commission |
|---|---|---|
| Pay on gross sales at purchase | 100 x 49 x 0.20 | $980.00 |
| Pay on net sales after the window | 94 x 49 x 0.20 | $921.20 |
| Difference | $58.80 |
Waiting until day 31 to pay means you never pay commission on money you gave back. That is why the hold period should be at least as long as your refund policy. Without it you must chase affiliates for repayments.
For attribution, a simple low-tech setup is one promotion code per affiliate. Check in your Stripe Dashboard that each payment shows the code used before you rely on it. See coupon codes.
Affiliate program versus reseller
An affiliate sends you traffic, and the buyer pays you. A reseller buys and resells under its own terms, prices and support. An affiliate has no stock, no invoicing, and no contact with the license. Because the buyer is your customer, your terms, your refund policy and your support apply.
How Clavem handles it
Clavem has no affiliate tracking, link management or commission reports. Referral attribution and payouts are yours to run with Stripe and a spreadsheet, or a separate tool.
Two Clavem facts matter for the payout rule:
- A full refund of a one-time payment disables every license on that order (Stripe’s
charge.refundedevent). A partial refund changes nothing. Decide in your policy whether a partial refund counts for commission. - You can look up a referred buyer’s licenses by email through the management API with
GET /v1/admin/licenses?email=ada@example.com. A refunded license has statusdisabled, so you can check it before you pay.
More in Connecting Stripe and the API reference.
Questions
When should I pay an affiliate commission?
After your refund window closes. If you offer 30 days, pay on day 31, so a refunded sale never needs a clawback.
Does Clavem track affiliates?
No. Clavem has no affiliate tracking or commission reports. You can still check whether a referred buyer's license is active or disabled through the management API before you pay.