---
title: "Get total Lifetime Value (LTV)"
method: GET
path: "/admin/payment-events/total-ltv"
tags: ["Admin"]
---

# Get total Lifetime Value (LTV)

`GET /admin/payment-events/total-ltv`

Calculate total LTV from payment events, optionally filtered by user and currency. LTV = Total Income - Total Expenses.

## Query parameters

- `userId` string
- `currency` string

## Response `200`

Total LTV calculated successfully

- TotalLtvResponseDto
  - `totalLtv` number, required — Total Lifetime Value
  - `currency` string, required — Currency
  - `userId` string, nullable, required — User ID (if filtered by user)
  - `totalIncome` number, required — Total Income
  - `totalExpenses` number, required — Total Expenses (refunds, etc.)
  - `transactionCount` number, required — Total number of transactions

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
