npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@agentapps/app.stripe

v3.0.1

Published

Manage payments, customers, and invoices with Stripe

Readme

Stripe

Lets an agent work with a Stripe account through the Stripe API (https://api.stripe.com/v1): read customers, payment intents, charges, invoices, subscriptions, products, prices, payouts and the balance, and create customers, products, prices, payment links, checkout sessions and refunds. It uses one secret key for every installation, so every installation acts on the same Stripe account. Requests are not retried.

Tools

| Tool | What it does | Writes? | |---|---|---| | list-customers | Lists customers, optionally filtered by email, with cursor pagination. | no | | get-customer | Returns one customer by id. | no | | create-customer | Creates a customer. | yes, asks first | | list-payments | Lists payment intents, optionally filtered by customer and status. | no | | get-payment | Returns one payment intent by id. | no | | list-invoices | Lists invoices, optionally filtered by customer and status. | no | | get-invoice | Returns one invoice by id. | no | | get-balance | Returns the account's available and pending balance by currency. | no | | list-subscriptions | Lists subscriptions, optionally filtered by customer and status. | no | | get-subscription | Returns one subscription by id. | no | | cancel-subscription | Cancels a subscription, by default at the end of the current billing period. | yes, asks first | | create-payment-link | Creates a payment link and returns its URL. | yes, asks first | | list-products | Lists products, optionally only active ones. | no | | create-product | Creates a product. | yes, asks first | | list-prices | Lists prices, optionally filtered by product and active status. | no | | create-price | Creates a one-time or recurring price for an existing product. | yes, asks first | | list-charges | Lists charges, optionally filtered by customer and payment intent. | no | | create-refund | Refunds a charge or a payment intent, in full or for a given amount. | yes, asks first | | create-checkout-session | Creates a Checkout session and returns the URL where the customer pays. | yes, asks first | | list-payouts | Lists payouts, optionally filtered by status. | no |

Setup

agentapps install app.stripe stripe
agentapps config app.stripe API_KEY:<your secret key>
agentapps stripe tools
agentapps stripe tool list-customers limit:5

API_KEY is a system secret: one key for every installation of the app. It is a Stripe secret key (sk_test_... or sk_live_...) from the Stripe Dashboard, under Developers, API keys (https://dashboard.stripe.com/apikeys). Use a test-mode key to try the app: with a live key, create-refund moves real money.

Terms of use

Stripe's own terms apply to everything the app does on your behalf, starting with the Stripe Services Agreement: https://stripe.com/legal/ssa.

Logos

TODO: record the official source of assets/logo.svg and assets/logo-mono.svg (Stripe's press kit, brand guidelines or its own site). They have been in the repository since before this README existed and their origin was not written down.