Last updated: Jan 20, 2026, 08:25 AM UTC

Stripe

Connect your Stripe account to query billing data, customer information, and subscription status directly through Sasha.

What You Can Do

  • Query customers - Find customer records and details
  • Check subscriptions - Status, plans, billing cycles
  • Review invoices - Payment history and upcoming charges
  • Analyze revenue - MRR, churn, growth metrics
  • Track payments - Transaction status and disputes

Prerequisites

  • Stripe account with API access
  • Restricted API key with read permissions
  • Appropriate Stripe role (at minimum, Analyst)

Create a Restricted API Key

  1. Go to Stripe Dashboard → Developers → API keys
  2. Click Create restricted key
  3. Name it (e.g., "Sasha Read-Only")
  4. Enable read access for:
    • Customers
    • Subscriptions
    • Invoices
    • Charges
    • Balance
  5. Click Create key and copy it

Setup

  1. Navigate to Settings → Tools → Stripe Billing
  2. Paste your restricted API key
  3. Click Save
  4. Click Test Connection
  5. Click Register to enable Claude access

Example Uses

"How many active subscribers do we have?"

"Show me customers with failed payments this month"

"What's our MRR growth over the last 6 months?"

"Find the subscription details for customer@example.com"

"List invoices over $1,000 from this quarter"

"Which subscription plans are most popular?"

Available Data

Category Examples
Customers Email, name, metadata, created date
Subscriptions Status, plan, billing cycle, next invoice
Invoices Amount, status, line items, payment method
Charges Amount, status, refunds, disputes
Balance Available, pending, currency breakdown

Security Notes

  • Use restricted keys with minimal permissions
  • API key is encrypted at rest
  • Read-only access recommended
  • Revoke the key in Stripe to disconnect

Troubleshooting

Issue Solution
"Invalid API key" Verify the key in Stripe Dashboard
"Permission denied" Check restricted key permissions
"Rate limited" Wait a moment, Stripe limits API calls

Learn More