Skip to content

Stripe (Revenue)

Pull-based usage source — Plutus fetches on a schedule, unlike the push-based usage ingestion API.

  • Billed revenue per customer per day: paid invoices less credit notes
  • Kept in each invoice’s own currency, with its USD conversion, for gross margin in Unit Economics

Method: Restricted API Key

  1. In the Stripe Dashboard, go to Developers > API keys.
  2. Click Create restricted key.
  3. Grant Read access to Invoices, Credit notes and Customers.
  4. Paste the key into the Restricted API Key field. This is a separate connection from Stripe (metered billing), so enter the key here even if you already use it there.
  5. Optional: in Customer ID metadata field, enter the Stripe customer metadata field that holds the same customer ID your backend sends in telemetry, for example plutus_customer_id.
  6. To see gross margin, pick Stripe (Revenue) under Revenue sources on a unit metric. See Unit economics.

If a required permission is missing, the sync fails and names the list it could not read.

Without the customer ID metadata field, revenue is filed under Stripe customer IDs (cus_...), which don’t match your cost tags or usage, and per-customer margin stays empty.

This is money collected, not recognised or deferred revenue. An invoice created more than 45 days before it was paid (an annual invoice finalised well ahead, for example) is not picked up. Paid invoices in a currency without a stored exchange rate are skipped and reported on the sync run; they are never converted at 1:1.

Removing this source deletes the revenue it pulled.