# Affiliate Program

> Create a referral link, earn 20% recurring commission and request payouts at a $50 minimum.

Source: https://xbeast.io/docs/affiliate

The XBeast affiliate program pays a recurring commission when someone subscribes to a paid plan through your referral link. Manage the link, earnings and payouts on https://xbeast.io/affiliates; the same data is available through the [Affiliate API](https://xbeast.io/docs/api-affiliate.md).

> **$50 minimum payout**
>
> A payout requires an active paid plan, an affiliate profile, at least $50 of available balance and no pending request. Payouts are reviewed manually.

## Create a referral link

If you do not have an affiliate profile yet, the Affiliates page asks for a referral name. It must be 3–10 characters and contain only letters a–z or A–Z; numbers, hyphens and special characters are rejected. Your link then looks like `https://xbeast.io/?via=YOURCODE`.

The Affiliates page explains that the referral cookie lasts 30 days. A visitor who subscribes within that window is credited to your code.

## How earnings work

- The commission is **20% recurring** for every referred user who upgrades to a paid plan.
- Earnings are calculated from the paid Stripe invoices for each referral, not from a fixed estimate. The API returns each invoice's amount and the commission it earned.
- Your available balance is `total earnings − total payouts`. The API reports it as `earnings_owed_cents`.
- Amounts are stored in USD cents, matching Stripe. The app displays dollars; the API returns cents.

## Request a payout

| Requirement | Details |
| --- | --- |
| Active paid plan | The Free plan cannot request a payout. |
| Affiliate profile | Create a referral link on the Affiliates page first. |
| Balance of at least $50 | The balance is total earnings minus payouts already sent. |
| No pending payout request | Wait until the current request is fulfilled before requesting another. |
| Full-access API key | Only when you request the payout through the Public API or MCP server. |

In the app, the **Request Payout** button stays disabled until the balance reaches $50 and no request is pending. With the API, `POST /api/v1/affiliate/payouts` accepts an optional `amount` in USD dollars. Omit it to request the full balance; when you pass it, it must be at least $50 and no more than the available balance.

Payouts are sent as **USDC on Ethereum or Base**. A request is reviewed manually, and the Affiliates page tells you to watch for an email. While a request is pending, a second request is rejected until the first is fulfilled.

## Earnings and payout history

The Affiliates page shows total referrals, total earnings, total payouts and a payout history table with the date, amount and payout method. The API returns the same information, plus per-invoice detail and a `can_request_payout` flag that combines the balance, plan and pending-request checks.

## API access

- `GET /api/v1/affiliate` returns the referral code, referral URL, commission rate, minimum payout and any pending request.
- `GET /api/v1/affiliate/earnings` returns earnings, payouts, per-referral invoices and the balance.
- `POST /api/v1/affiliate/payouts` requests a payout. The read endpoints are safe on a read-only key; the payout action requires a full-access key.

The complete request and response shapes are in the [Affiliate API reference](https://xbeast.io/docs/api-affiliate.md).

## Related

- [Credits & plans](https://xbeast.io/docs/credits-and-plans.md)
- [Affiliate API reference](https://xbeast.io/docs/api-affiliate.md)
- [Create an API key](https://xbeast.io/docs/api-keys.md)
- [Billing API: manage your own subscription](https://xbeast.io/docs/api-billing.md)

[Open Affiliates](https://xbeast.io/affiliates)

[View plans](https://xbeast.io/premium)
