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

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Affiliateprogram

> Slå din whops affiliateprogram til, så folk tjener en kommission, når deres henvisningslink skaffer et betalende medlem, og angiv brugerdefinerede satser for partnere.

Opsæt dit affiliateprogram til automatisk at udbetale kommission, når nogen henviser et nyt betalende medlem til din whop.

## Sådan fungerer affiliateprogrammet

Når nogen bruger et henvisningslink til at tilmelde sig din whop og foretager et køb, tjener den person, der henviste dem, en kommission.

Sådan fungerer det:

* Du slår affiliateprogrammet til
* Brugere får adgang til deres [unikke affiliatelink](https://docs.whop.com/da/affiliates/be-an-affiliate.md) til din whop
* De deler deres link, hvor de vil
* Når nogen tilmelder sig via deres link, sporer Whop automatisk henvisningen og udbetaler kommissionen
* Du kan til enhver tid tilpasse kommissionssatserne, så de passer til din forretningsmodel

## Sådan opsætter du dit affiliateprogram

### 1. Gå til dine affiliateindstillinger

Sådan finder du dit affiliateprogram:

1. Gå til dit **Dashboard**
2. Sørg for, at du ser den rigtige whop, ved hjælp af valgmenuen øverst til venstre
3. Vælg rullemenuen **Marketing**
4. Vælg **Affiliates**

### 2.  Angiv kommissionssatser for din whop

1. Vælg **Set the affiliate commission for a specific whop**
2. Du ser alle dine whops med to vigtige indstillinger:
   * **Global affiliatesats:** Dette er den kommissionssats, der tilbydes enhver bruger, som henviser andre til din whop. Standarden er 30 %, men du kan justere den til en hvilken som helst procentsats
   * **Medlemsaffiliatesats:** Dette er kommissionssatsen specifikt for dine eksisterende medlemmer, der henviser andre. Det giver dig mulighed for at belønne dit fællesskab anderledes end almindelige affiliates (f.eks. får medlemmer 50 % i kommission, mens den globale sats er 30 %)

> [!TIP]
>
> Hvis du sætter 'Member affiliate rate' til 0 %, tjener medlemmer i stedet den globale affiliatesats.

### 3. Aktivér dit affiliateprogram

Når du har foretaget ændringer, skal du vælge den blå fluebensknap for at bekræfte dine nye satser.

![Affiliateprogram](https://mintcdn.com/whop/XkQkLHsY-Hk8KVyG/how-to-videos/affiliates720p30fps.gif?s=b63419e2023a2f4675aa58e0a8bb6586)

### Sådan opretter du brugerdefinerede satser for partnerskaber

Til særlige partnerskaber eller topperformere kan du oprette brugerdefinerede kommissionsstrukturer:

1. Vælg **Set an affiliate commission for a specific user**
2. Indtast brugerens e-mailadresse til Whop-kontoen
3. Konfigurér deres belønning:
   * Vælg mellem **Percent** og **Fixed amount**
   * Vælg **Recurring payments** (løbende kommission) eller **First payment** (engangskommission)
   * Vælg, hvilke whops denne sats gælder for
4. Vælg **Invite** for at sende dem en invitation

## Udbetalingstidspunkt

Whop håndterer automatisk alle affiliatebetalinger for dig. Der er en ventetid på 30 dage fra det tidspunkt, hvor en henvist kunde foretager sit køb, til affiliaten modtager sin kommission.
