Stripe-Native Referral Infrastructure

Stop Losing 30% of Your Revenue to Word-of-Mouth Friction

The Stripe-native referral infrastructure for SaaS. Handle commissions, refunds, and payouts without writing a single line of ledger logic.

One-line integration. Infinite scale.

We get it. You're building a SaaS, not an affiliate network. You shouldn't have to waste weeks writing complex webhook logic just to track a simple referral. You need a system that respects your dev time and your bottom line.

Meet Echo-Ref

The drop-in, Stripe-native referral infrastructure that turns your users into your best sales team.

Middleware Tracking

Automatic ?ref= parameter detection with HTTP-only cookie storage. Zero client-side code required.

Test Page Screenshot

Financial State Machine

Automatic handling of invoice.paid and charge.refunded events. Commissions, clawbacks, and payouts on autopilot.

Commission Flow Screenshot

White Label Portals

Multi-tenant dashboards for your affiliates. Each partner gets their own branded view with real-time stats, pending commissions, and payout history.

Dashboard Screenshot

The Transformation

Before Echo-Ref

  • Manual spreadsheets tracking referrals
  • Missed attributions costing you revenue
  • Angry partners waiting for payments
  • Messy tax seasons and 1099 chaos

After Echo-Ref

  • Automated cookie tracking across subdomains
  • "Clueless" coupon attribution that just works
  • Instant webhook-driven commission calculation
  • One-click Stripe Connect payouts

How It Works

Get up and running in under 10 minutes

1

Drop in our SDK

One line of middleware. That's it. We handle all the cookie management and tracking automatically.

npm install @echo-ref/sdk
2

Define Your Campaign

Set your commission rules: percentage or fixed, one-time or recurring, with customizable lock periods.

Example:

20% recurring for 12 months

30-day cookie window

3

We Handle the Rest

Tax forms, payout ledgers, fraud detection, and Stripe Connect transfers. All automated.

Auto-payouts1099s

Built for Developers

Technical specs that matter

TRACKING

Query Param Support

?ref=CODE detection on any page via Next.js middleware

ATTRIBUTION

Coupon Attribution

Link discount codes to affiliates. No cookie needed.

LINKING

Direct Linking

Cross-subdomain cookie sharing for seamless attribution

API

REST + Webhooks

Full API access with real-time event notifications

attribution.ts
// When a user signs up, attribute them to the referrer
const response = await fetch('https://echo-ref.sepirak.com/api/referrals/attribute/external', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': process.env.ECHO_API_KEY
  },
  body: JSON.stringify({
    referralCode: 'FASTEDDY2026',
    externalUserId: user.id,
    email: user.email
  })
});

Simple, Transparent Pricing

Pay only for what you use. No hidden fees.

GROWTH
2% of payouts

Only pay when your affiliates get paid

  • Unlimited affiliates
  • Unlimited campaigns
  • White-label dashboards
  • Stripe Connect payouts
Get Started Free

No credit card required

Launch Your Referral Program Today

Watch your Customer Acquisition Cost (CAC) drop while your revenue compounds on autopilot.