# Managing Customers

The **Customer Details Page** provides an overview of a specific customer's account and store interactions.

* **Profile**: Displays the customer's username and profile link, if available.
* **External ID**: A platform-specific identifier. For example, in **Rust**, this would be the **SteamID64**, while in **Minecraft**, it would be the **UUID**.
* **First Seen At**: Shows when the customer was first seen on the store.

#### **Stats Section:**

* **Total Spent in Store (Net)**: The total amount spent by the customer after any fees or refunds.
* **MRR (Monthly Recurring Revenue)**: Shows the recurring revenue generated from active subscriptions.
* **Total Payments**: The number of completed payments made by the customer.
* **Active Subscriptions**: Displays the number of active subscriptions tied to the customer's account.

At the top, you’ll find action buttons to:

* **Ban.**
* **Manage Tokens.**
* **Edit Customer**: Allows you to update the customer's **name** and **platform-specific ID**, such as a **SteamID64** for Rust or **UUID** for Minecraft. This can be useful for correcting errors or updating account details.

<figure><img src="https://2548055575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEfAasB0XXVFpgzmjUh8U%2Fuploads%2FRnJlIPs7o6fDGE24cMWM%2F5isZCFF2jSApmKR2N07EAhr4.png?alt=media&#x26;token=49941432-9881-43ca-ad7f-344387591fd5" alt=""><figcaption></figcaption></figure>

***

### Inventory

The **Inventory** section displays all products that a customer currently owns or previously purchased. It tracks the **active** and **expired** items assigned to their account, including both one-time purchases and subscription-based products.

Unlike the **Orders** section, which logs all transactions, the **Inventory** section focuses on the **customer's access to products**. For example, if a package expires, it will be marked as **Expired** here, but the original order will still be visible in the **Orders** section.

You can also use the **Assign Product** button to manually grant a product to the customer if needed.

<figure><img src="https://effedion.nl/img/59QmBMjcQ0N65oVg8tOpTL6R.png" alt=""><figcaption></figcaption></figure>

### **Package Action Buttons**

Each package in the **Inventory** section has two action buttons for managing items:

* **Discord Button:** Opens the **Discord Linking UI**, Allowing you to input a **Discord User ID** to link a user with the specific Inventory Item.
* **Info Button ( ℹ️ ):** Opens the **Command UI**, showing all the commands associated with that package, including the game server they were executed on, the exact command used, and the execution status.
* **Red Button (Revoke):** Allows you to **revoke the active item** from the customer, removing their access to the purchased package. This is useful for cases where the package needs to be manually canceled or removed.

The availability of these buttons depends on the **state of the package**. For example, if a package has **expired**, the **Revoke** button will no longer be available.

> **Note:** It is possible to revoke packages that **do not expire**, but to do so, the package must have an **On Expiry Action** set. Without an expiry action, manual revocation will not go through.

<figure><img src="https://2548055575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEfAasB0XXVFpgzmjUh8U%2Fuploads%2F685By23fvzqWErAsU2A4%2FwZWDvvOUa48KMo77iY0DD7SV.png?alt=media&#x26;token=82f2c48b-9966-4d4b-a65c-f4e8839355bf" alt=""><figcaption></figcaption></figure>

***

### Orders

The **Orders** section displays a complete list of all orders made by the customer. Each entry includes:

* **Order ID**: A unique identifier for each order.
* **Product Name**: The package or subscription the customer purchased.
* **Price**: The amount paid for the order (if applicable).
* **Status**: The current status of the order, which can be:
  * **Created**: The order has been generated but not yet completed.
  * **Completed**: The order has been successfully processed.
  * **Chargeback**: The order has been chargebacked.
* **Date**: When the order was created or completed.

Each order can be **clicked** to view more details about that specific order.

For a full walkthrough of the order details, check out [Orders](https://guides.paynow.gg/content/orders).

You can also use the **Status filter** in the top right corner to easily filter orders by their status.

<figure><img src="https://2548055575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEfAasB0XXVFpgzmjUh8U%2Fuploads%2F41Q4cAENIQfcjsiKuI0h%2F9Iz21R7V8uMWBrmYlr88qHad.png?alt=media&#x26;token=190463b6-a8bb-4907-80c5-6fbb088efbf0" alt=""><figcaption></figcaption></figure>

***

### Subscriptions

The **Subscriptions** section lists all active and canceled subscriptions associated with the customer. Each entry includes:

* **Subscription ID**: A unique identifier for the subscription.
* **Product**: The name of the subscription package.
* **Amount**: The recurring payment amount for the subscription.
* **Status**: The current status of the subscription.
* **Billing Period**: The billing cycle duration (e.g., 30 days).
* **Created**: The date when the subscription was first created.

You can use the **Status filter** in the top right corner to view only **Active,** **Canceled or Created** subscriptions.&#x20;

Each subscription can be **clicked** to view more details about that specific subscription.

For a detailed walkthrough of managing subscriptions, check out [Subscriptions](#subscriptions).

<figure><img src="https://2548055575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEfAasB0XXVFpgzmjUh8U%2Fuploads%2F0SJ7qMSevLGRUGNbkag9%2FfFFnmlwHndAW2CH2Af6XgDMW.png?alt=media&#x26;token=7f0d2712-fcc0-43b0-832d-3e2125587f94" alt=""><figcaption></figcaption></figure>

***

### Metadata

The **Metadata** section allows you to store **key-value pairs** of additional information related to a customer. These values can be used for integrations, custom commands, or tracking purposes.

* **Key**: The identifier for the type of data (e.g., `DiscordID`, `DiscordUsername`).
* **Value**: The corresponding data associated with the key (e.g., the customer’s Discord ID or username).

You can add as many metadata fields as needed by clicking the **Add Field** button. To remove a field, simply clear both the **Key** and **Value** fields and press **Update**.

This section is especially useful for linking external accounts (like Discord) or storing custom data for automation purposes.

<figure><img src="https://2548055575-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEfAasB0XXVFpgzmjUh8U%2Fuploads%2FsbTcTxfZKmx9DyRLy0g0%2FawXSv2NEcpLiChCPaJuQjxg1.png?alt=media&#x26;token=a7cff5d8-fbf5-4268-83e6-1c605c405a5f" alt=""><figcaption></figcaption></figure>

***

### **Ban**

A Store can ban a customer to prevent them from making purchases on their store.

1. On the **Customer Page**, click the **Ban** button.
2. Enter a **reason** (internal only, not shown to the customer).
3. (Optional) Set an **expiration date**—leave blank for a **permanent ban**.
4. Select the **identity type** to apply the ban to:
   * **Customer** – Bans the specific customer account.
   * **Customer Name** – Bans anyone using that name (**Not Recommended** as names can be changed).
   * **Steam ID -** Bans the user’s Steam account.
   * **IP Address** – Bans users from the specified IP.
5. Click **Create** to finalize the ban.

💡 **Once a user is banned, a large red warning message will appear at the top of their Customer Page, displaying the ban ID and a ‘View Ban’ button.**

{% hint style="danger" %}
&#x20;**Banned customers cannot make purchases but will retain access to existing purchases unless revoked manually.**
{% endhint %}

To **remove or edit a ban**, return to the **Customer Page** and update the ban settings.

#### **Viewing, Updating, or Removing a Ban**

1. On a **banned customer's profile**, a **red warning banner** will be displayed.
2. Click the **‘View Ban’** button to open the ban details.
3. In the **Edit Ban** window, you can:
   * **Update the ban** – Modify the reason, expiration date, or add/remove identities.
   * **Unban the customer** – Click **‘Unban’** to fully remove the restriction.

💡 **If the ban has an expiration date, it will automatically be removed once it expires.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.paynow.gg/content/customers/managing-customers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
