Stripe revenue: MRR, churn and LTV
Connect Stripe and read MRR, new, expansion, contraction and churned MRR, ARR, ARPU and LTV, on the Revenue report, over the API and on a dashboard template.
Connect Stripe in Connectors (restricted key with read access to charges, subscriptions, invoices and refunds). The connector turns Stripe objects into events:
Stripe | Event | Notes |
|---|---|---|
charge |
|
|
paid invoice |
|
|
refund |
| negative |
subscription |
|
|
subscription |
|
|
other subscription status |
|
|
$mrr is the price divided down to a month (a yearly 240.00 price is 20.00; interval_count is respected). Plan quantity and add-on items are not multiplied in: the first item's unit price is used. A $subscription_started on a subscription that is already live counts as a renewal, so a change of price shows as expansion or contraction and is not counted as new MRR twice. These names are the revenue settings' defaults, so no setup is needed; if you track subscriptions yourself, change the event and property names in Revenue settings (PUT /v1/projects/{project_id}/web/revenue/config).
Read it
GET /v1/projects/{project_id}/web/revenue/mrr?from=&to=&interval=month|week|day answers per period opening_mrr, new_mrr, expansion_mrr, contraction_mrr, churned_mrr, closing_mrr, arr and subscription counts, and a current block with mrr, arr, customers, arpu and ltv. LTV is ARPU divided by the last period's churn (the churned share of opening subscriptions), and is null without churn. A subscription that goes quiet is churned implicitly when the revenue settings define a drop-off window. Amounts in another currency are converted at the day's rate; events whose currency has no rate are counted in unconverted_events and left out.
Dashboard template
Dashboards > New from template > Stripe revenue: MRR, churn, LTV creates a dashboard with a Revenue: MRR, churn, LTV widget (current MRR, ARR, customers, ARPU and LTV, and the movements table for the last 180 days).
Keep other revenue out (filters)
If the Stripe account also carries sales that are not yours (a platform's customers' commerce, one-off products), set filters on the connector (Connectors > Stripe > Revenue, or config over the API). They apply to charges, subscriptions, paid invoices and refunds; customers and products are never filtered.
Config key | Effect |
|---|---|
| Skips Stripe Connect connected-account sales: events delivered for a connected account (webhook |
| Product ids, read from invoice lines and subscription items. An include list drops anything that names none of them |
| The same, by price id |
|
|
{ "revenue_from": "invoices", "exclude_connect": true, "include_metadata": ["kind=saas"] }Notes: a plain charge has no product or price, so with an include product or price list it is dropped; filter those by metadata or take revenue from paid invoices. Refunds follow only their own fields (Connect, their own metadata), because a refund does not carry its charge's metadata: if refunds of excluded sales matter, set the same metadata on the refund. Filters apply to events from now on and to the next backfill; they do not delete events already stored.