Revenue and CRM · Read with a key
Stripe (revenue)
Monthly revenue per customer from paid Stripe invoices, used for AI contribution margin and AI cost as a share of revenue. Revenue only; never treated as cost.
- How data moves
- AI Spendbook reads it on a schedule with a key, token or read-only role you give it.
- Credential
- API key or token
- What it covers
- revenue
- Money
- No cost data
- Runs
- each scheduler run (daily on the hosted deployment)
- Freshness
- Paid invoices as of the sync; the trailing 31 days are re-read for refunds and credit notes.
- History on first sync
- Up to 1100 days
- Not included
- model, feature, end user
- Status
- Built from the vendor's public documentation and tested with recorded responses. Not yet run against a live account.
Set it up
- In the Stripe Dashboard open Developers → API keys → Create restricted key.
- Grant read access to invoices, credit notes, refunds and invoice payments (and Customers: Read if you map customers by metadata, Products: Read for plan names); leave everything else None.
- Paste the key (rk_…). Optionally set the customer metadata key that holds your internal customer id.
What it needs
A restricted key (rk_…) with read access to invoices, credit notes, refunds and invoice payments (and Customers: Read when mapping by customer metadata, and Products: Read (optional) for plan names). Secret keys work but are discouraged.