← Public packages
@kentcdodds/stripe
Stripe helpers for customers, payments, invoices, subscriptions, products, payment links, refunds, and balance.
- Integrations
- stripe
- payments
- billing
- invoices
- subscriptions
- finance
- Version
- 1.0.0
- License
- MIT
- Published
- September 11, 2026
- Pinned commit
261d351- Rating
- No ratings yet
- Forks
- 1
- Adaptation effort
- —
README
Agent docs@kentcdodds/stripe
Intent
Full-surface Stripe helpers so Kody agents can read and manage customers,
payments, invoices, subscriptions, products, prices, payment links, refunds,
payouts, and balance on the owner's Stripe account without hand-rolling API
calls. Reads are free-form; money-moving and destructive mutations are guarded
behind an explicit confirm: true input.
What it does
- Customers: list, search, get, create, update, delete
- Payments: payment intents, charges, refunds
- Invoices: list/search/get, create, finalize, send, void, delete draft
- Subscriptions: list/search/get, create, cancel
- Products, prices, and payment links
- Account profile, balance, payouts, and events
- Low-level
stripeRequest/ list / search for endpoints without a typed helper
Prerequisites / setup
- Create a Stripe secret key (
sk_...) or restricted key (rk_...) in the Stripe API keys dashboard with the scopes you need. - Save it in Kody as user secret
stripeSecretKey(do not paste the key value in chat). - Approve hosts
api.stripe.comandfiles.stripe.comif prompted. - Approve this package to use
stripeSecretKeyin the account secrets UI. - Agents: see
AGENTS.mdfor import paths and smoke checks.
Done when
stripeSecretKeyis saved; Stripe hosts and package secret access are approved- Read-only smoke test returns account, balance, and sample customers/charges
- Destructive helpers refuse to run unless
confirm: true
Report this listing
Log in to report this listing.