Referral Programs
Create partner programs with custom commission rules and automated payouts via Stripe Connect.
A referral program in Refport defines the rules for how partners earn commissions when they refer customers to your product. Partners receive a unique referral link; when someone clicks that link and converts, Refport tracks the attribution and calculates the payout.
Key concepts
Programs
A program is the top-level container for your referral scheme. It holds:
- The commission structure (percentage or flat fee, per lead or per sale)
- The eligible domains and links
- Payout currency and minimum threshold
- Partner-facing branding (name, description, logo)
You create and manage programs in the Refport dashboard under Programs.
Partners
A partner is anyone enrolled in your program — affiliates, influencers, customers with a referral code. Each partner gets one or more referral links with your branded domain.
Partners earn commissions when:
- A visitor clicks their referral link and signs up (lead commission)
- A referred customer makes a purchase (sale commission)
Commissions
Commissions are calculated automatically when you report lead and sale events via the SDK. The commission amount is determined by the rules configured in your program.
Commission statuses:
| Status | Meaning |
|---|---|
pending | Event received; waiting for the attribution window to close |
approved | Commission confirmed and queued for payout |
paid | Payout has been sent via Stripe Connect |
rejected | Commission was voided (e.g. refund, fraud) |
Payouts
Refport processes partner payouts via Stripe Connect. Partners connect their Stripe account (or bank details) in the embedded referral portal. Payouts are batched and released on the schedule you configure.
Creating a program
- Go to Programs → New Program in the dashboard
- Set the program name, commission type (percentage or flat), and payout rules
- Copy the program ID — you'll need it when generating embed tokens
Inviting partners
Partners can be invited via:
- Dashboard invite — send an email invitation from the Partners tab
- Embedded portal — partners self-enroll through the portal you embed in your app (see Embedded Portal)
- API — create partners programmatically (API reference coming soon)
Attribution window
By default, Refport uses a 90-day last-click attribution model. If a visitor clicks a referral link and converts within 90 days, the referring partner receives credit. You can adjust this window in program settings.