Skip to content
← 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
—

@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

  1. Create a Stripe secret key (sk_...) or restricted key (rk_...) in the Stripe API keys dashboard with the scopes you need.
  2. Save it in Kody as user secret stripeSecretKey (do not paste the key value in chat).
  3. Approve hosts api.stripe.com and files.stripe.com if prompted.
  4. Approve this package to use stripeSecretKey in the account secrets UI.
  5. Agents: see AGENTS.md for import paths and smoke checks.

Done when

  • stripeSecretKey is 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.