Stripe Integration
SkillDatabases & dataLets your agent pull Stripe billing, payments, refunds, and subscription data through this stripe Claude skill.
Use Stripe Integration in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Stripe Integration and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Stripe Integration skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
How to connect to and query the Stripe API for analytics data.
What this skill tells your AI
The instructions your AI receives, as published by builderio/agent-native in templates/analytics/.builder/skills/stripe/SKILL.md and read by ahel’s review.
Connection
- Base URL:
https://api.stripe.com - Auth: Bearer token via the per-user/org
STRIPE_SECRET_KEYcredential - Server lib:
server/lib/stripe.ts - Routes:
server/routes/stripe.ts - Dashboard:
app/pages/adhoc/stripe/(tool page, not metrics dashboard)
Credential
STRIPE_SECRET_KEY— configure in Settings → Data sources
Agent Action
Use stripe for agent-facing Stripe work. Do not call /api/stripe/*
directly from the agent.
| Mode | Args | Description |
|---|---|---|
billing | email, customerId, query, months | Invoices for a customer in timeframe |
payment-status | email, customerId, query | Recent charges + payment intents |
refunds | email, customerId, query | Refunds associated with customer |
subscriptions | email, customerId, query | Active subscriptions |
billing-by-product | email, customerId, query, months | Billing aggregated by product |
API Routes
| Route | Method | Params | Description |
|---|---|---|---|
/api/stripe/billing | GET | email, months (default 6) | Invoices for a customer in timeframe |
/api/stripe/payment-status | GET | email | Recent charges + payment intents |
/api/stripe/refunds | GET | email | Refunds associated with customer |
/api/stripe/subscriptions | GET | email | All subscriptions (active + inactive) |
All routes resolve email → Stripe customer ID(s) internally.
Exported Functions (server/lib/stripe.ts)
getCustomersByEmail(email)— lookup customers by emailgetInvoices(customerId, months?)— invoices, optionally filtered by timeframegetCharges(customerId, limit?)— recent chargesgetPaymentIntents(customerId, limit?)— recent payment intentsgetSubscriptions(customerId)— all subscriptions (status=all)getRefunds(customerId)— refunds via charge lookup
Gotchas
- Stripe
/v1/refundsdoes NOT supportcustomerfilter. The lib works around this by fetching customer charges first, then fetching refunds for refunded charges. - One email can map to multiple Stripe customer objects. All routes handle this by aggregating across all matching customers.
- Amounts in Stripe are in cents (smallest currency unit). Divide by 100 for display.
- Cache TTL is 5 minutes (shorter than other integrations since billing data changes more frequently).
- The
expandparameter is used for invoices (line items) and subscriptions (price details).
Client Hooks (app/lib/api-hooks.ts)
useStripeBilling(email, months, enabled)useStripePaymentStatus(email, enabled)useStripeRefunds(email, enabled)useStripeSubscriptions(email, enabled)
All hooks use enabled flag — data is only fetched when a button is clicked.
UI Pattern
The Stripe page is a tool (not a dashboard). It has:
- Email input field
- Four action buttons (Billing History, Payment Status, Refund Status, Subscriptions)
- Results panel that shows data for whichever action was last triggered
Signals
- GitHub stars
- 7k
- Forks
- 635
- Last commit
- Oct 2026
ahel review
S4info
community integration, published by builderio, not stripe
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Item type
- skill
- Key
stripe-builderio- Source
- github.com/builderio/agent-native
github.com/builderio/agent-native
Related picks
Skill · stripe
The pick for Stripesupabase
Skill · supabase
More in Databases & dataconnect
Skill · composiohq
More in Databases & dataanalytics
Skill · coreyhaines31
More in Databases & dataazure-kusto
Skill · microsoft
More in Databases & dataagentic-os
Skill · affaan-m
More in Databases & data