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

# Promotional Credit

## **Overview**

Promotional credits are credits granted to customers as part of a promotion, allowing them to use eligible products, services, or features without incurring charges up to the value of the credit.

Unlike promotional entitlements (which grant direct feature/service access), promotional credits are **consumable**: the balance is reduced as the customer uses eligible resources.

## **Creating Promotional Credit**

1. Go to **Offers → Promotions → Credit**.

2. Click **Create promotional credit**.

   <img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_list.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=4d872ca411e1b22dc1dab192faf18fc9" alt="Promotional credit list page" title="Promotional credit list page" style={{ width: "73%" }} width="1024" height="561" data-path="images/promotional_credit/promotional_credit_list.png" />

3. In the modal, fill in the details:

   * **Name**: Internal campaign title.
   * **Description (optional)**: Internal context for operators/support.
   * **Select credit system**: Choose the credit ledger this promotion funds. Only active credit systems can be selected.
   * **Promo window**: The period the promotion is active and can be granted to customers.
     * Start immediately or set a start date.
     * End forever or set an expiry date.
   * **Quantity**: Number of credits granted per reset cycle.
   * **Reset interval**: How often the quantity renews (or never).
   * **Access period** : How long the granted credit remains valid for each customer.
     * **Off / Forever**: no duration cap.
     * **On**: set `duration_value` + `duration_unit` (for example, 3 months).
   * **Allow multiple grants**: Whether this promotional credit can be granted multiple times to the same customer and coexist with other promotional credits.

   <img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_create_modal.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=7623e243fc91f72e1528f554c77b358e" alt="Create promotional credit modal" title="Create promotional credit modal" style={{ width: "73%" }} width="1024" height="948" data-path="images/promotional_credit/promotional_credit_create_modal.png" />

4. Click **Create promotional credit** to save.

   **Note:** This form only sets up the promotional credit policy. Customer assignment happens in a separate step.

### **Important lifecycle behavior**

* If a promotional credit has already been applied (`is_applied`), key policy fields are locked in edit mode.
* In that state, only safe metadata updates are typically allowed (for example, name/description).
* This prevents changing live credit economics after customers have already received promotional access.

## **Applying Promotional Credit**

* **Grant**: The customer is assigned to the promotional credit campaign and can receive the configured credit benefit (`quantity`, `reset_interval`, and duration rules) in the linked credit system.
* **Revoke**: The customer is removed from active access for this promotion (`active=false`, `revoked_at` set), so they no longer receive new benefit from it.
* **Re-grant**: A revoked customer can be assigned again. If **Allow multiple grants** is enabled, an already active customer can also receive **Grant again**.

In this rule set, eligibility is wallet-based. Only customers with a wallet can be selected.

* **All customers**: all eligible existing customers (with wallets)
* **Specific customers**: only the selected eligible customers (with wallets)

### **Grant flow**

Entry points from the promotional credit details experience:

* Side panel: **Grant to customers** (or edit icon in customers card)
* Customers section empty state: **Grant to customers**

<img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_customers_empty.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=f29dc684f6d95e8827e854e0d113feab" alt="Promotional credit details with grant to customers entry point" title="Promotional credit details with grant to customers entry point" style={{ width: "73%" }} width="1024" height="597" data-path="images/promotional_credit/promotional_credit_customers_empty.png" />

In the **Customers** modal, choose:

* **All customers**, or
* **Specific customers**

Click **Done** to apply.

#### **Allow multiple grants behavior**

* **Allow multiple grants = Off**:
  * An active customer cannot be granted again.
  * Re-grant after revoke is allowed.
* **Allow multiple grants = On**:
  * An active customer can be granted repeatedly (**Grant again**).
  * Re-grant after revoke is also allowed.

<img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_apply_all.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=e50cd81dea4de6a530a1538f20fbd2e4" alt="Grant promotional credit to all eligible customers" title="Grant promotional credit to all eligible customers" style={{ width: "73%" }} width="1024" height="947" data-path="images/promotional_credit/promotional_credit_apply_all.png" />

### **Revoke and re-grant flow**

From the customer row actions in the details page:

* Active/granted customers show **Revoke**
* Revoked customers show **Grant again**

<img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_granted_row_actions.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=946f3cc243d08c3d35adde9b01248ba3" alt="Granted customers row actions including revoke" title="Granted customers row actions including revoke" style={{ width: "73%", marginBottom: "1.5rem" }} width="1024" height="599" data-path="images/promotional_credit/promotional_credit_granted_row_actions.png" />

<img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_revoked_regrant.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=97d3b0394f4e8793673169df4c404c18" alt="Revoked customer row action for grant again" title="Revoked customer row action for grant again" style={{ width: "73%" }} width="1024" height="599" data-path="images/promotional_credit/promotional_credit_revoked_regrant.png" />

### **Manage Access (bulk operations)**

Use **Manage access** for batch operations:

* Filter by **Granted** or **Revoked**
* Search customers
* Select multiple rows
* Bulk revoke (from Granted filter)
* Bulk re-grant (from Revoked filter)

<img src="https://mintcdn.com/metrifox/QcQ5YfCQ3mvOUhiJ/images/promotional_credit/promotional_credit_manage_access.png?fit=max&auto=format&n=QcQ5YfCQ3mvOUhiJ&q=85&s=585b4d067c1f223a7494f26fceb61be0" alt="Manage access modal for bulk grant and revoke operations" title="Manage access modal for bulk grant and revoke operations" style={{ width: "73%" }} width="1024" height="942" data-path="images/promotional_credit/promotional_credit_manage_access.png" />
