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

# For affiliates

> Promote a merchant, earn commission. Apply, grab your referral link, and track clicks, conversions, and payouts in one portal.

You're an affiliate: you promote a merchant's product, and when someone you referred buys, you earn a commission. This page walks you through applying, getting your referral link, and tracking what you've earned — all from the merchant's affiliate portal.

<Info>
  You don't need a Macropay account. Everything happens through the merchant's portal using just your email — no password to manage.
</Info>

## How it works in four steps

<Steps>
  <Step title="Apply at the merchant's link">
    The merchant shares an application link that looks like this:

    ```
    https://affiliate.macropay.ai/affiliate/apply?org=<ORG_ID>
    ```

    The `org` value identifies the merchant whose program you're joining. Fill in your details and submit. The merchant reviews applications and approves the affiliates they want to work with.
  </Step>

  <Step title="Sign in to the portal">
    Once you're approved, open the portal:

    ```
    https://affiliate.macropay.ai/affiliate?org=<ORG_ID>
    ```

    Enter the same email you applied with. We send a one-time code to that inbox — paste it in and you're signed in. No password, nothing to reset.
  </Step>

  <Step title="Copy your referral link and share it">
    Inside the portal you'll find your personal referral link. Share it anywhere your audience is — a blog post, a YouTube description, a newsletter, a social post. Every click through that link is tagged to you.
  </Step>

  <Step title="Track clicks, conversions, and earnings">
    The portal shows your performance in near real time: how many people clicked, how many converted into paying customers, and how much commission you've accrued. The merchant settles your payments and marks each commission as paid once it's sent.
  </Step>
</Steps>

## How referrals are attributed

Macropay uses **last-click attribution**. When a customer follows your referral link, a cookie ties that visit to you. If that customer goes on to buy, you get the credit — provided yours was the most recent affiliate link they clicked before purchasing.

<Note>
  If a customer clicks your link, then later clicks a different affiliate's link before buying, the most recent click wins. Last click takes the commission.
</Note>

## What you'll earn

Your commission rate, the products it applies to, the attribution window, and any minimum payout are all set by the **merchant's program terms** — not by Macropay. Two merchants can run very different programs, so always check the terms shown in the portal when you apply.

<Tip>
  Pick referral links that point to the exact product or offer you're promoting. The cleaner the path from your content to checkout, the better your conversion rate.
</Tip>

## FAQ

**How do I get paid?**
The merchant pays you directly. Macropay tracks every click, conversion, and the commission you've earned, and gives the merchant a clear view of what's owed. When they send your payment, they mark the commission as **paid** in the portal so your balance stays accurate.

**When does a referral count?**
A referral counts when someone clicks your link and then completes a qualifying purchase, with yours being the last affiliate link they clicked. Whether a specific purchase qualifies — and how long the attribution window stays open — depends on the merchant's program terms.

**How do I see my earnings?**
Sign in to the portal at `https://affiliate.macropay.ai/affiliate?org=<ORG_ID>` with your email and the one-time code. Your dashboard breaks down clicks, conversions, and commission earned, along with what's been marked paid versus still pending.

**Do I need an account or a password?**
No. You sign in with your email and a one-time code sent to your inbox each time. There's no password to create or remember.

**Can I promote more than one merchant?**
Yes. Each merchant runs its own program under its own `org` link, so you apply separately for each one and switch between portals using the matching application and sign-in links.

## Related

<CardGroup cols={2}>
  <Card title="Products" icon="box" href="/features/products">
    See how merchants package the products you'll be promoting.
  </Card>

  <Card title="Merchant of Record" icon="building-columns" href="/merchant-of-record/introduction">
    Understand who sells, who handles tax, and how payouts are settled.
  </Card>
</CardGroup>
