> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Commissions and payouts

> How a commission becomes payable, and how to pay and record what you owe

## The life of a commission

**1. Earned**

A **sale** earns its commission as soon as it is recorded. A **lead** earns only when you mark it **Won** and enter the deal value. The commission is calculated then, from the affiliate's own rate or else the program's.

**2. Held**

It waits for the program's **hold period**, the days in which a customer can still ask for a refund. A refund during this time reverses the commission.

**3. Payable**

When the hold period ends, the scheduler (your cron job) makes the commission payable. It checks hourly, so a commission can wait up to an hour past its date. This is why the cron job matters: without it, nothing ever becomes payable.

**4. Paid**

You pay the affiliate and record the payment. The commissions it covered are closed, and the affiliate is emailed.

On the dashboard, **Commissions owed** shows what is payable now and what is still in the hold period.

> [!NOTE]
>
> A referral flagged under **Needs review** keeps its commission held until you press **Looks fine**. See [Reports and fraud checks](https://docs.azvian.com/affiliate-manager/reports-and-review.md#needs-review).

## Paying your affiliates

Open **Payouts** (administrators only). It has three parts:

* **Ready to pay**: everyone whose commissions are payable and who has reached the program's **minimum payout**.
* **Not yet at the minimum**: affiliates who are owed money but not enough yet. Their commissions wait and add up.
* **Paid**: the history of recorded payments.

Affiliates choose how they want to be paid on their own page: **PayPal**, **Bank transfer** or **Other**, with their PayPal email or bank details. You see them next to each name.

### Pay by PayPal

**1. Download the file**

Press **Download PayPal file**. It is a CSV in PayPal's mass-pay format, with the columns Email, Amount, Currency and Note, for everyone due who chose PayPal.

**2. Upload it to PayPal**

Use PayPal's mass-pay tool to send the payments.

**3. Record the batch**

Back in Affiliate Manager, enter a batch reference if you like (for example "PayPal batch 2026-11-01") and press **Mark all PayPal payments paid**.

### Pay any other way

Pay the affiliate yourself (bank transfer or anything else), then press **Mark paid** on their row and add a reference if you want one. **Download all (CSV)** gives you the full list with names, methods, payout details, amounts and programs to work from.

### What recording a payout does

Recording a payout closes **exactly the commissions it covered**, so they can never be paid twice, and emails the affiliate. The app never moves money and never holds your PayPal or bank credentials.

## Refunds

* A refund **before** the commission is paid reverses it automatically (Gumroad refunds arrive through the ping; other shops through the [API](https://docs.azvian.com/affiliate-manager/api.md#refund-a-sale)).
* A refund **after** the commission was paid cannot be undone by the app. The referral is marked with a note on **Referrals**, and recovering that money from the affiliate is up to you. A longer hold period is the best protection.

## Currency and amounts

Money is stored in whole cents. A percentage commission is stored precisely (20.00% is stored as 2000 basis points), so totals never drift by a cent. Each program has one currency; payouts are made per affiliate and currency.


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