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

# Affiliate Management

> Manage affiliates and track their performance

# Affiliate Management

## Payment Tracking

<CardGroup cols={2}>
  <Card title="Pending Commissions" icon="clock">
    Track commissions awaiting payment:

    * Affiliate details
    * Commission amounts
    * Status: "En attente"
    * Mark as Paid option
  </Card>

  <Card title="Paid Commissions" icon="check-circle">
    View completed payments:

    * Payment date
    * Amount paid
    * Status: "Payé"
    * Historical records
  </Card>
</CardGroup>

<Note>
  The platform provides payment tracking tools but does not process payments between creators and affiliates.
</Note>

## Status Management

<Tabs>
  <Tab title="Status Types">
    Three possible affiliate statuses:

    * **✓ Active** - Fully approved affiliates who can generate referrals
    * **Pending** - New applications awaiting review
    * **Inactive** - Suspended or disabled accounts
  </Tab>

  <Tab title="Status Changes">
    * Status can be changed at any time
    * Changes take effect immediately
    * Affects affiliate's ability to:
      * Generate new referrals
      * Access affiliate tools
      * Receive commissions
  </Tab>
</Tabs>

## Profile Overview

<CardGroup cols={2}>
  <Card title="Basic Information" icon="user">
    * **Name** - Affiliate's full name
    * **Member since** - Join date
    * **Status** - Current affiliate status
    * **Avatar** - Initials-based profile picture
  </Card>

  <Card title="Key Metrics" icon="chart-line">
    Display of important performance indicators:

    * Total Clicks
    * Total Revenue
    * Commission
    * Total Sales
  </Card>
</CardGroup>

## Performance Metrics

<Grid>
  <MetricCard title="Total Clicks" icon="mouse-pointer">
    Number of times affiliate links have been clicked
  </MetricCard>

  <MetricCard title="Total Revenue" icon="dollar-sign">
    Total revenue generated through affiliate's referrals
  </MetricCard>

  <MetricCard title="Commission" icon="percentage">
    Total commission earned by the affiliate
  </MetricCard>

  <MetricCard title="Total Sales" icon="shopping-cart">
    Total value of completed sales
  </MetricCard>
</Grid>

## Referral History

Track all referrals made by this affiliate:

<Properties>
  * **EMAIL** - Email address of referred user
  * **LINK CODE** - Unique referral code used
  * **CREATED AT** - Date of referral
  * **SPENT AMOUNT** - Purchase amount in selected currency
</Properties>

## Email Notifications

Automatic email notifications are sent to both parties:

<Tabs>
  <Tab title="New Application">
    * **To Program Owner:**
      ```
      Subject: New Affiliate Application - {program_name}
      Content: Hey {owner_name} 👋
      Big news! Someone just applied to your program!
      ```

    * **To Affiliate:**
      ```
      Subject: Application Received - {program_name}
      Content: Your application is being reviewed
      ```
  </Tab>

  <Tab title="Application Approved">
    * **To Program Owner:**
      ```
      Notification in dashboard of successful approval
      ```

    * **To Affiliate:**
      ```
      Subject: Great News, affiliate! 🎉
      Content: Your application has been approved!
      You are now officially an affiliate for {program_name}.
      ```
  </Tab>
</Tabs>

## Common Actions

<AccordionGroup>
  <Accordion title="Managing Payments">
    Track and manage affiliate payments:

    * View pending commissions
    * Mark payments as completed
    * Monitor payment history
    * Export payment records
  </Accordion>

  <Accordion title="Managing affiliate status">
    Choose the appropriate status:

    * Set to Active for approved affiliates
    * Use Pending for applications under review
    * Switch to Inactive to suspend participation
  </Accordion>

  <Accordion title="Viewing transaction details">
    Click on individual referrals to see detailed transaction information.
  </Accordion>
</AccordionGroup>

<Warning>
  The platform only tracks payments. Actual payment processing should be arranged directly between creator and affiliate.
</Warning>
