---
title: "Review a customer's revenue"
description: "Review one customer's exact gross revenue and paid-order activity for a selected period."
canonical: "https://studio.inttegro.com/inttegro-mcp/workflows/customers/review-a-customer-revenue"
format: inttegro-machine-docs/v1
language: "TypeScript"
sdk_version: "v12.0.0"
reader_profile: optional
reader_manifest: "https://studio.inttegro.com/machine/typescript/readers/index.json"
reader_identification: "Optional: declare your client only if known and your current-session capabilities; use reader_manifest for supplemental recommendations."
preamble_estimated_tokens: 575
model_token_report: "https://studio.inttegro.com/machine/token-report.json"
preamble_questions: 5
preamble_source: "general"
recommended_mcp_tools: ["get_customer","get_customer_analytics"]
estimated_tokens: 1113
token_estimate_method: "utf8_bytes_divided_by_4"
---

## Machine preamble

**Summary:** Review one customer's exact gross revenue and paid-order activity for a selected period. This TypeScript representation uses the selected SDK's native names wherever Studio has a verified mapping.

### Five questions

#### Q1. When should the reader use Review a customer's revenue?

Use this MCP document when an authenticated AI client needs governed Inttegro context, guidance, presentation, or operations.

#### Q2. What is authoritative on this page?

The documented MCP catalog defines available abilities and confirmation boundaries. For live state, the structured tool result is authoritative; presentation output is only a rendering of that result.

#### Q3. What page-specific constraint matters most?

Read operations do not authorize mutations. Actions retain their exact confirmation requirements, and payment credentials or OTP must stay in secure Checkout.

#### Q4. Can Inttegro MCP materially help with this task?

Yes, when the reader has an authenticated MCP connection and the task needs live context, guided planning, or a supported operation. The strongest matches are `get_customer`, `get_customer_analytics`; their exact roles and boundaries are listed below.

#### Q5. How should the reader verify the answer and continue?

Preserve the structured tool result, distinguish bounded lists from complete analytics, and reconcile asynchronous actions through an authoritative read. Continue with [get_customer_analytics](https://studio.inttegro.com/machine/typescript/inttegro-mcp/tools.md#get_customer_analytics) when those concerns enter scope.

### Recommended MCP assistance

Use these through an authenticated Inttegro MCP connection. This document remains the contract source.

- [`get_customer`](https://studio.inttegro.com/machine/typescript/inttegro-mcp/tools.md#get_customer) — read; no mutation confirmation. Gets one customer by ID using a minimized projection that reports channel availability without exposing raw contact details.
- [`get_customer_analytics`](https://studio.inttegro.com/machine/typescript/inttegro-mcp/tools.md#get_customer_analytics) — analytics read; no mutation confirmation. Ranks customers or inspects one customer by paid orders and gross revenue, alongside the exact new-customer count for the period.

## Document content

# Review a customer's revenue

Use customer analytics when you need a governed period total for one known customer. The result excludes names, contact details, and delivery addresses.

### Prompt

> **Copyable prompt:**
>
> Show gross revenue and paid-order activity for customer `<CUSTOMER_ID>` over
> the last 30 days in GHS. Include exact values, the Flint chart, and data
> completeness. Do not reveal contact details or call gross revenue net revenue.

The agent calls [`get_customer_analytics`](https://studio.inttegro.com/machine/typescript/inttegro-mcp/tools.md#get_customer_analytics) with the customer ID, period, and currency. This gives an exact aggregate for that customer rather than a total inferred from recent orders.

## Sample response: Customer revenue for the last 30 days

cus\_example\_01 generated GHS 6,850.00 in gross revenue across 12 paid orders.

- **Customer**: cus\_example\_01
- **Gross revenue**: GHS 6,850.00
- **Paid orders**: 12
- **Data status**: Complete — No estimated buckets

### Customer gross revenue

- **cus\_example\_01**: GHS 6,850.00

Refunds are not subtracted from this gross-revenue result. Review a specific order when you need its recorded refunds or remaining refundable amount.
