# 1. Commission & Payout Alerts

User Type: **Affiliate**
Source: *Mi Digital Academy - Education CRM Features Document*

---

## 1. Commission & Payout Alerts

### 1.1 Commission Alerts
**What it does:** Notifies the Affiliate about commission events: a new commission earned, a commission moving from pending to earned, and a commission dispute update. The Affiliate sees the alert with the details and can tap through to the commission. This keeps the Affiliate informed about their earnings in real time.

**Sub-features:**
- Alert on new commission earned
- Alert on commission status change
- Alert on commission dispute update
- Alert shows the commission details
- Tap through to the commission
- Alerts available on web and mobile
- Alerts event logging (sent, viewed)
- Audit logging of the commission alerts

**Affiliate User Journey:**
1. Affiliate receives a commission alert.
2. The alert shows the commission details.
3. The alert is sent on a new commission earned.
4. The alert is sent on a commission status change.
5. The alert is sent on a commission dispute update.
6. Affiliate taps through to the commission.
7. Affiliate opens Profile → "Activity" and confirms the alerts events are recorded.

**Rules & Edge Cases:**
- The alerts are sent on commission events.
- The alert shows the commission details.
- Alerts events (sent, viewed) are logged with the account and the timestamp.
- The commission alerts is audit-logged with the account and the timestamp.

### 1.2 Payout Alerts
**What it does:** Notifies the Affiliate about payout events: a payment request submitted, a payout processed, and a payout completed. The Affiliate sees the alert with the payout details and can tap through to the payment history. This keeps the Affiliate informed about their payments.

**Sub-features:**
- Alert on payment request submitted
- Alert on payout processed
- Alert on payout completed
- Alert shows the payout details
- Tap through to the payment history
- Alerts available on web and mobile
- Alerts event logging (sent, viewed)
- Audit logging of the payout alerts

**Affiliate User Journey:**
1. Affiliate receives a payout alert.
2. The alert shows the payout details.
3. The alert is sent on a payment request submitted.
4. The alert is sent on a payout processed.
5. The alert is sent on a payout completed.
6. Affiliate taps through to the payment history.
7. Affiliate opens Profile → "Activity" and confirms the alerts events are recorded.

**Rules & Edge Cases:**
- The alerts are sent on payout events.
- The alert shows the payout details.
- Alerts events (sent, viewed) are logged with the account and the timestamp.
- The payout alerts is audit-logged with the account and the timestamp.

### 1.3 Referral Activity Alerts
**What it does:** Notifies the Affiliate about referral activity: a new sign-up through their link, a new purchase, and a referred customer's renewal. The Affiliate sees the alert with the referral details and can tap through to the referrals. This keeps the Affiliate informed about their referral activity.

**Sub-features:**
- Alert on new sign-up through the link
- Alert on new purchase
- Alert on referred customer renewal
- Alert shows the referral details
- Tap through to the referrals
- Alerts available on web and mobile
- Alerts event logging (sent, viewed)
- Audit logging of the referral activity alerts

**Affiliate User Journey:**
1. Affiliate receives a referral activity alert.
2. The alert shows the referral details.
3. The alert is sent on a new sign-up through the link.
4. The alert is sent on a new purchase.
5. The alert is sent on a referred customer renewal.
6. Affiliate taps through to the referrals.
7. Affiliate opens Profile → "Activity" and confirms the alerts events are recorded.

**Rules & Edge Cases:**
- The alerts are sent on referral activity.
- The alert shows the referral details.
- Alerts events (sent, viewed) are logged with the account and the timestamp.
- The referral activity alerts is audit-logged with the account and the timestamp.
