alicehasnoidea/docs
WebsiteLog inGet Started Free
Reference

Stripe Metrics Reference

Complete reference of available Stripe metric blocks and their parameters

Stripe Metrics Reference

When creating a Stripe skill, you select from pre-built metric blocks rather than writing raw API calls. Each block encapsulates the Stripe API queries, pagination, data aggregation, and formatting needed to produce a clean result in Slack.

Time Period Configuration

Every metric block supports a configurable time period. When building a Stripe skill, you set the default time period. Users can override it at runtime using the --period flag or --start/--end date parameters.

Presets

PresetSlugDate Range
This Monththis-month1st of current month to today
Last Monthlast-month1st to last day of previous month
Last 7 Dayslast-7-days7 days ago to today
Last 30 Dayslast-30-days30 days ago to today
Last 90 Dayslast-90-days90 days ago to today
Year to DateytdJanuary 1st to today
CustomcustomUser-specified start and end dates

Usage in Slash Commands

/alice mrr                          # Uses the default time period
/alice mrr --period=last-90-days    # Override to last 90 days
/alice revenue --start=2026-01-01 --end=2026-01-31   # Custom range

Revenue Metrics

Revenue blocks focus on recurring revenue tracking and breakdown.

MRR (Monthly Recurring Revenue)

Returns the current MRR with a detailed breakdown of contributing factors.

FieldDescription
Total MRRSum of all active subscription monthly amounts
New MRRRevenue from subscriptions created this period
Expansion MRRRevenue increase from plan upgrades
Contraction MRRRevenue decrease from plan downgrades
Churned MRRRevenue lost from cancelled subscriptions
Net MRR ChangeNew + Expansion - Contraction - Churned
MRR Growth RatePercentage change from previous period

ARR (Annual Recurring Revenue)

Annual projection based on current MRR. Returns the same breakdown fields as MRR multiplied by 12.

FieldDescription
Total ARRMRR x 12
New ARRNew MRR x 12
Expansion ARRExpansion MRR x 12
Churned ARRChurned MRR x 12
Net ARR ChangeNet MRR Change x 12

Net Revenue

Total revenue collected after refunds and fees for the selected period.

FieldDescription
Gross RevenueTotal charges before refunds
RefundsTotal refunded amount
Net RevenueGross - Refunds
Stripe FeesProcessing fees charged by Stripe
Net After FeesNet Revenue - Stripe Fees

ARPU (Average Revenue Per User)

Revenue per active customer for the selected period.

FieldDescription
ARPUTotal revenue / active customer count
Median RevenueMedian per-customer revenue
Top QuartileRevenue of 75th percentile customer

LTV (Lifetime Value)

Estimated customer lifetime value based on historical data.

FieldDescription
Average LTVARPU / monthly churn rate
Median LTVMedian customer lifetime value
LTV by PlanBreakdown by subscription plan

Churn Metrics

Churn blocks help you track and respond to customer and revenue loss.

Churn Rate

Subscription churn rate over the selected period.

FieldDescription
Churn RateCancelled subscriptions / total active at period start
Churned CountNumber of subscriptions cancelled
Active at StartActive subscription count at period start
Active at EndActive subscription count at period end

Revenue Churn

Revenue lost from cancellations and downgrades, distinct from customer count churn.

FieldDescription
Revenue Churn RateChurned MRR / starting MRR
Gross ChurnTotal MRR lost from cancellations
Net Revenue ChurnGross churn minus expansion revenue
Churned MRR by PlanBreakdown by subscription plan

At-Risk Accounts

Customers showing signs of potential churn based on payment failures, card expiry, and subscription status.

FieldDescription
Customer EmailEmail address
Customer NameName on account
Risk ReasonPayment failed, card expiring, past due
Last Payment StatusStatus of most recent charge
Subscription StatusActive, past_due, unpaid
Days Since Last PaymentDays since last successful charge

This block is especially powerful in combined queries where you can join it with Supabase user activity data.

Recovery Rate

How effectively failed payments are recovered through retries or customer action.

FieldDescription
Recovery RateSuccessfully recovered / total failed
Recovered CountPayments eventually succeeded
Still Failed CountPayments not recovered
Average Recovery TimeAverage days to successful retry

Subscription Metrics

Subscription blocks track the lifecycle of your customer subscriptions.

Active Subscriptions

List of all currently active subscriptions with details.

FieldDescription
CustomerCustomer name and email
PlanSubscription plan/product name
Statusactive, trialing, past_due
MRRMonthly amount for this subscription
Start DateWhen the subscription started
Current Period EndWhen the current billing period ends

New Subscriptions

Subscriptions created during the selected period.

FieldDescription
CustomerCustomer name and email
PlanSelected plan
MRRMonthly recurring amount
TrialWhether the subscription started with a trial
Created AtSubscription creation date

Trial Subscriptions

Currently active trials with conversion tracking.

FieldDescription
CustomerCustomer name and email
PlanTrial plan
Trial StartWhen the trial began
Trial EndWhen the trial expires
Days RemainingDays until trial expires
ConvertedWhether converted to paid (for ended trials)

Upgrades and Downgrades

Plan changes during the selected period.

FieldDescription
CustomerCustomer name and email
Previous PlanPlan before the change
New PlanPlan after the change
MRR ChangeDollar impact on MRR
DirectionUpgrade or downgrade
Changed AtWhen the plan change occurred

Cancellations

Subscriptions cancelled during the selected period.

FieldDescription
CustomerCustomer name and email
PlanPlan that was cancelled
MRR LostMonthly revenue lost
Cancellation ReasonReason provided (if any)
Cancelled AtWhen the cancellation occurred
End DateWhen access actually ends

Payment Health Metrics

Payment health blocks monitor the reliability of your payment processing.

Failed Payments

Recent failed payment attempts with diagnostic details.

FieldDescription
CustomerCustomer name and email
AmountCharge amount
Failure ReasonDecline code or error (card_declined, insufficient_funds, etc.)
Failure CountNumber of consecutive failures
Last AttemptDate of most recent failed attempt
Next RetryWhen Stripe will retry (if applicable)

Disputes (Chargebacks)

Open and recently resolved disputes.

FieldDescription
CustomerCustomer name and email
AmountDisputed amount
ReasonDispute reason (fraudulent, duplicate, etc.)
StatusOpen, won, lost, under_review
Created AtWhen the dispute was filed
Due ByResponse deadline

Retry Success Rate

Success rate of Stripe's automatic payment retry attempts.

FieldDescription
Retry Success RatePercentage of retries that succeeded
Total RetriesNumber of retry attempts
Successful RetriesNumber that succeeded
Failed After All RetriesPayments that exhausted all retry attempts

Card Expiry Report

Customers with cards expiring soon, allowing proactive outreach.

FieldDescription
CustomerCustomer name and email
Card BrandVisa, Mastercard, Amex, etc.
Last FourLast 4 digits of the card
Expiry MonthMonth of expiration
Expiry YearYear of expiration
Subscription MRRMonthly revenue at risk

Customer Metrics

Customer blocks provide visibility into your customer base and its composition.

Customer Count

Total customer count segmented by status.

FieldDescription
Total CustomersAll customers in Stripe
ActiveCustomers with active subscriptions
Past DueCustomers with past-due payments
CancelledCustomers with no active subscription
TrialCustomers currently on trial

Customer Growth

New customers acquired during the selected period with trend data.

FieldDescription
New CustomersCount of customers created this period
Growth RatePercentage growth from previous period
Daily AverageAverage new customers per day
By SourceBreakdown by acquisition channel (if metadata available)

Top Customers

Highest-revenue customers ranked by lifetime spend or current MRR.

FieldDescription
CustomerName and email
Total SpentLifetime payment total
Current MRRCurrent monthly amount
PlanActive subscription plan
Customer SinceAccount creation date

Customer Cohort Analysis

Customer retention by signup month cohort.

FieldDescription
CohortSignup month
Starting CountCustomers in the cohort
Active NowStill active today
Retention RatePercentage still active
Average LTVAverage lifetime value for cohort

Financial Metrics

Financial blocks provide accounting and operational finance visibility.

Balance Summary

Current Stripe balance and pending payouts.

FieldDescription
Available BalanceFunds available for payout
Pending BalanceFunds not yet available
Total BalanceAvailable + Pending
CurrencyAccount currency

Refund Summary

Refunds issued during the selected period.

FieldDescription
Total RefundsSum of all refunds
Refund CountNumber of refunds issued
Refund RateRefunds / total charges
Top ReasonsMost common refund reasons
Average RefundAverage refund amount

Processing Fees

Stripe processing fees for the selected period.

FieldDescription
Total FeesSum of all Stripe fees
Fee RateFees as percentage of revenue
Average Fee Per TransactionFees / transaction count
Fee by TypeStandard, international, currency conversion

Payout History

Recent payouts from Stripe to your bank account.

FieldDescription
Payout AmountAmount sent to bank
StatusPaid, pending, in_transit, failed
Arrival DateWhen funds arrive/arrived
Initiated AtWhen the payout was created

Digest Metrics

Digest blocks combine multiple metrics into a single summary, ideal for scheduled reports.

Daily Digest

A combined summary of key metrics for the previous day.

SectionMetrics Included
RevenueMRR, net revenue, new subscriptions value
CustomersNew signups, cancellations, trial conversions
PaymentsSuccessful charges, failed payments, disputes
ActivityTop customers by spend, at-risk accounts

Weekly Digest

A combined summary covering the previous 7 days with trend comparisons.

SectionMetrics Included
Revenue TrendsMRR change, revenue vs previous week
GrowthNew customers, net growth, churn rate
Payment HealthSuccess rate, failed payment recovery, disputes
HighlightsLargest new customer, biggest upgrade, notable events

Monthly Digest

Comprehensive monthly business review metrics.

SectionMetrics Included
Executive SummaryMRR, ARR, growth rate, churn rate
Revenue DetailNew, expansion, contraction, churned MRR
Customer DetailCohort retention, LTV trends, top customers
FinancialNet revenue, fees, refunds, payouts
ForecastingProjected MRR next month based on trends

Using Metric Blocks

In the Skill Builder

  1. Create a new skill and select Stripe as the source
  2. In the Query step, browse the metric block catalog by category
  3. Select a block and configure its parameters (time period, filters)
  4. Preview the output in the Format step
  5. Optionally attach action buttons to result rows

In Slash Commands

Once a Stripe skill is created, run it like any other skill:

/alice mrr
/alice failed-payments --period=last-7-days
/alice top-customers --limit=20
/alice churn-rate --period=last-month

In Combined Queries

Pro

Stripe metric blocks can be combined with Supabase SQL queries in combined skills. The at-risk accounts block is particularly powerful when joined with user activity data from your app database.

Next Steps

Was this page helpful?

On this page