AffihubDocs
DocsGetting StartedWhat is Affihub

What is Affihub

Overview

Affihub is a developer-first affiliate program platform for SaaS companies. It handles the full lifecycle of partner referrals — from click tracking to commission payouts — so you can focus on your product.

Instead of building referral tracking, attribution logic, and payout infrastructure from scratch, you install a lightweight tracking script and connect your payment provider. Affihub handles the rest.

Who is it for?

Providers — SaaS companies that want to launch an affiliate or referral program. You create a program, invite partners, configure commission rules, and manage payouts.

Partners (Affiliates) — Individuals or businesses that promote your product. They get unique referral links, a dashboard to track their performance, and automatic payouts when commissions are approved.

How it works

The platform has four main components:

1. Tracking Script

A lightweight JavaScript snippet you add to your website. It captures referral clicks from partner links (?ref=partner-slug) and stores attribution data in the visitor's browser for 90 days.

2. Webhook Integration

When a visitor completes a purchase through Stripe or Paddle, the payment provider sends a webhook to Affihub. The system matches the transaction to the original referral click and creates a commission.

3. Commission Engine

A rules engine that determines how much commission to pay. You can set default rates at the program or partner level, or create flow rules with conditions — like higher rates for transactions above a certain amount.

4. Payout System

Approved commissions are batched into payouts. Partners can be paid via Stripe Connect (direct bank transfer), PayPal, or other methods. The provider controls approval and payout timing.

Platform components

Component URL Purpose
Marketing site affihub.com Landing page and signup
Provider dashboard app.affihub.com Program management for providers
Partner portal portal.affihub.com Dashboard for affiliates
API api.affihub.com REST API and tracking script
Documentation docs.affihub.com This site

Key concepts

  • Program — Your affiliate program. Each program has its own tracking, partners, and commission settings.
  • Partner — An affiliate who promotes your product. Each partner gets a unique slug used in referral links.
  • Commission — A record of money owed to a partner for a successful referral. Created automatically from webhooks.
  • Flow — A commission rule with conditions. Flows let you customize rates based on transaction amount, customer email, partner, or other fields.
  • Payout — A batch payment to a partner covering one or more approved commissions.

Next steps

Ready to get started? Follow the Quickstart guide to set up your first program in under 5 minutes.