Guides

Analytics

Track revenue, subscriptions, customers, and payment performance with built-in analytics.

PimaBill provides built-in analytics endpoints to track revenue, subscriptions, customers, and payment performance.

In the dashboard

Overview is the first page you see:

  • Get set up: the steps left before you can bill, such as taking payments (your own provider, or managed payments on the cloud), a plan, a customer, an API key and a webhook address. It disappears once every step is done.
  • Your numbers: monthly recurring revenue, active subscriptions, customers and payment success rate.
  • Payments: the status of managed payments and your own providers.
  • Plan usage: on the cloud, how much of your plan you are using.

Analytics has four tabs: Revenue, Subscriptions, Customers and Payments. Amounts there are in US dollars, converted from each currency you bill in. Export CSV downloads the last six months of revenue.

The endpoints below return the same figures for your own reports.

Revenue Analytics

curl "http://localhost:4000/api/analytics/revenue?dateFrom=2025-01-01&dateTo=2025-01-31&currency=UGX" \
  -H "Authorization: Bearer sk_live_a1b2c3d4..."

Subscription Metrics

curl "http://localhost:4000/api/analytics/subscriptions" \
  -H "Authorization: Bearer sk_live_a1b2c3d4..."

Customer Metrics

curl "http://localhost:4000/api/analytics/customers" \
  -H "Authorization: Bearer sk_live_a1b2c3d4..."

Payment Analytics

curl "http://localhost:4000/api/analytics/payments?provider=STRIPE" \
  -H "Authorization: Bearer sk_live_a1b2c3d4..."
Copyright © 2026