> ## Documentation Index
> Fetch the complete documentation index at: https://magic-book.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Affiliates

> Run the referral program: affiliate accounts, the commissions earned from orders, and the payouts customers request.

The affiliate program pays customers who bring new customers. Each customer has a referral link and earns a commission from the orders of people who sign up through it.

The admin side has three pages under **Affiliates**: **Accounts**, **Earnings** and **Payouts**.

## Accounts

**Affiliates → Accounts** lists every affiliate account. Select an account to see its referral ID and its referred customers. **Configure** opens the program's setup.

## Earnings

**Affiliates → Earnings** lists the commissions earned from billing orders. Each commission is linked to the order it came from.

## Payouts

**Affiliates → Payouts** lists the payout requests. A customer can request a payout once their available balance reaches the threshold. Open a request to see the payout details the customer gave, such as a PayPal email or bank details.

## For customers

Customers find the program under **Plans → Referrals**. It shows the share link, the referral ID, the number of referred customers, the commissions earned, and the balance available to withdraw. See [Referrals](https://magic-book.mintlify.site/account/referrals.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.