## **Deals**
The **Deal** defines how the affiliate will be paid.
- Deals are stored in the database and displayed in the affiliate profile
- A deal specifies:
- Percentage, commission, or formula
- Payment calculation logic (e.g., based on deposits, revenue, or other variables)
### Example:
If an affiliate brings 100 players:
- Payment may be calculated based on total deposits
- Or based on a predefined revenue-share percentage
The deal determines how commission is calculated and paid.