API Reference
Analytics
SQL-backed conversion, churn, MRR, LTV, forecast.
All endpoints below take optional ?from=ISO8601&to=ISO8601 query params.
Conversion
Daily buckets:
rate = confirmed / created per UTC day.
Churn
Monthly churn rate over the last 12 months. Numerator: subs that flipped to cancelled or lapsed in that month. Denominator: total subs created in that month.
MRR
Interval-normalised: daily × 30, weekly × 30/7, monthly, quarterly / 3, yearly / 12. Returns gross MRR; for net subtract your tier's per-transaction fee.
LTV
Top customers by lifetime spend:
Forecast
Linear regression over the last 90 days of confirmed transactions:
Confidence: low if < 30 days of data, medium if 30-60, high if 60+.
