Plugins / Stripe
Stripe 0.5.3
The Stripe plugin lets a Vaubaan Gateway mission use Stripe without handing the agent a credential. Billing operations on a Stripe account : catalog, customers, subscriptions, invoices, refunds, payouts, webhooks — test and live modes as separate resources.
1 · The model
How Stripe is modelled
1 plane, 22 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.
Account One account is one Stripe account, given as a test key, a live key, or both.
Plane · billingThe only Stripe plane Vaubaan exposes — the authenticated Stripe account (one API key = one account) and all the billing artifacts under it (catalog, customers, subscriptions, invoices, payments, monitoring, webhook integration). Stripe Connect / Terminal / Identity / Issuing are out of scope.
<account id>/<mode> ; an account holds one account and up to two modes.sk_test_* / sk_live_*). Cardinal envScopable axis : Stripe ids (cus_*, prod_*, ch_*) are disjoint between modes ; no cross-mode addressing is possible upstream. The runtime qualifies env-scoped risks as stripe[live].refund-create etc.pii synthetic overlay .whsec_* signing secret. The secret is returned ONLY at endpoint creation ; rotation = delete + recreate. NOT a queryable Stripe resource — marker so the catalog can gate the credential mint distinctly from the endpoint config update (aligns with vercel.bypass-token).1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment no tool touches it
Account
One account is one Stripe account, given as a test key, a live key, or both.
Resource
Each mode is its own resource, labelled test or live by the plugin. Every permission is held per mode, so a mission can work freely in test mode and touch live billing only within its limits and after your yes.
Environment
- Rule
- The environment is the label the owner of the account puts on each resource. A permission tied to an environment is held once per label, and is refused on a resource that has no label or a label the permission does not list.
- Known
- testlive
- Carried by
billing.mode
2 · Macro-actions
What an agent does at Stripe: 5 macro-actions
A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.
- 1
Look at the books
Catalog, billing history, balance and customers.
Reading the account without changing it: the product catalog, invoices and charges, the balance and the event feed, and the customers. The cash position and the billing history are separate permissions so a monitoring agent needs no customer details. Customers' personal fields (email, name, address) are a permission of their own, emitted with every customer read, because handing them to an agent carries a minimisation duty.
4 permissions
- 2
Set up
Catalog and webhooks.
Shaping the offer and the plumbing: products, prices, coupons and webhook endpoints. Catalog changes can be archived and redone, but every future checkout sees them. A webhook endpoint decides where events and customer data are sent, and creating one hands back its signing secret once, which is why that secret is a permission of its own.
3 permissions
- 3
Bill
Subscriptions and invoices.
Running recurring billing: creating and changing subscriptions, drafting and finalising invoices. A draft invoice notifies nobody and moves no money, so it stands apart from finalising, which emails the customer and may collect. Creating or changing a subscription can charge the customer at once through proration.
4 permissions
- 4
Move money out
Refunds and payouts.
Refunds and payouts, the two ways real money leaves the account. Neither can be taken back once it settles: a refund is not reversed, and a payout is cancellable only while pending. Each call is bounded by the charge or the balance, not by the mission, so the limits here are what keeps many calls in check.
2 permissions
- 5
Cancel and void
Cancel subscriptions, void invoices, delete customers.
Ending things for good: cancelling a subscription, voiding an invoice, deleting a customer. None of them can be undone, which is why they are a verb of their own rather than part of Bill. Deleting a customer also cancels every active subscription and erases their personal data in one call.
3 permissions
3 · The map
The map
16 permissions of 5 macro-actions, in the four rows of the tree. For the chosen trust level and environment (stripe[live].…stripe[test].…), each cell gives yes, ask me or no, and the quota a day.
A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.
| Risk | Look at the booksCatalog, billing history, balance and customers. | Set upCatalog and webhooks. | BillSubscriptions and invoices. | Move money outRefunds and payouts. | Cancel and voidCancel subscriptions, void invoices, delete customers. |
|---|---|---|---|---|---|
| Cannot be repaired Careful: no. Trusting, Autonomous: ask me. | None | None | None |
|
|
| Repairable, at a price Careful, Trusting: ask me. Autonomous: runs freely. | None | None |
| None | None |
| Worth a look Careful: ask me. Trusting, Autonomous: runs freely. |
|
| None | None | None |
| Harmless Runs freely at every level. | None | None |
| None | None |
Careful on live: runs freely 1, ask me first 10, not included 5. Careful on test: runs freely 1, ask me first 10, not included 5. Trusting on live: runs freely 8, ask me first 8. Trusting on test: runs freely 8, ask me first 8. Autonomous on live: runs freely 11, ask me first 5. Autonomous on test: runs freely 11, ask me first 5. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.
4 · A few calls
A few calls, classified by the plugin
31 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 31 calls, as code.
| The call | The plugin sees | The catalog answers | A Careful mission |
|---|---|---|---|
stripe__ |
|
| ask me |
stripe__ |
|
| ask me |
stripe__ |
|
| ask me |
stripe__ |
|
| no |
stripe__ |
|
| no |
stripe__ |
|
| no |
5 · Anything else
Anything else
A call no permission covers touches stripe. instead of slipping through. No macro-action holds it; a person ticks it knowingly.
| Permission | Risk | Careful ×1 | Trusting ×3 | Autonomous ×10 |
|---|---|---|---|---|
Uncategorized Stripe writeWhy it sits here: Catch-all for writes without a dedicated entry. Seen in production, it means a tool classifies to a slice no entry covers : add the entry. stripe.uncategorized-write | Repairable, at a price costly to undo | ask me · 50 a day | ask me · 150 a day | yes · 500 a day |
6 · Tools
Tools
27 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.
27 tools · scroll the list
| Tool | What it does | Usually touches |
|---|---|---|
stripe__ | List products | stripe. |
stripe__ | List prices | stripe. |
stripe__ | List customers | stripe., stripe. |
stripe__ | Read a customer | stripe., stripe. |
stripe__ | List subscriptions | stripe. |
stripe__ | List invoices | stripe., stripe. |
stripe__ | List charges | stripe., stripe. |
stripe__ | List payment intents | stripe., stripe. |
stripe__ | Read the balance | stripe. |
stripe__ | List events | stripe., stripe., stripe. |
stripe__ | Create a product | stripe. |
stripe__ | Change a product | stripe. |
stripe__ | Create a price | stripe. |
stripe__ | Change a price | stripe. |
stripe__ | Create a coupon | stripe. |
stripe__ | Create a promotion code | stripe. |
stripe__ | Create a subscription | stripe., stripe. |
stripe__ | Change a subscription | stripe., stripe. |
stripe__ | Cancel a subscription | stripe., stripe. |
stripe__ | Pause a subscription | stripe. |
stripe__ | Create a draft invoice | stripe., stripe. |
stripe__ | Finalize an invoice | stripe. |
stripe__ | Void an invoice | stripe. |
stripe__ | Refund a payment | stripe. |
stripe__ | Create a webhook endpoint | stripe., stripe. |
stripe__ | Pay out to the bank account | stripe. |
stripe__ | Delete a customer | stripe. |
7 · Connecting an account
Connecting an account
1 of 3 · a key you create and paste secret key
A secret key the person creates at Stripe and pastes once; nobody declares anything beforehand.
The secret key, which opens the whole account, not a restricted key. A restricted key fails tool by tool on what it lacks; this gateway holds live refunds, payouts and prices behind their own permissions, and a mission reaches only the modes and permissions it names.
- Sign in to the Stripe Dashboard of the account the agents will work on.
- DevelopersAPI keysOpen the page and, in the sandbox, reveal the Secret key (sk_test_…) and copy it. (open)
- Standard keysReveal live keySwitch to live mode and reveal the Secret key (sk_live_…), or create one: Stripe shows a key you create once.
- Paste the test key, the live key, or both, here.
- Where
- https://dashboard.stripe.com/apikeys
- Expiry
- Stripe keys do not expire: roll or delete the key on the API keys page to end this account.
- The connect page asks
- Test-mode secret key (secret) and Live-mode secret key (secret)
- The service's documentation
- https://docs.stripe.com/keys
- Disconnecting
- Delete or roll the API key in the Stripe Dashboard, under Developers, API keys.
8 · Health
Health
17 gateways run this plugin (over the last 90 days).
| Version | Gateways | Calls | Success | Validated |
|---|---|---|---|---|
0. | 1 | 2 | 100.0 % | |
0. | 7 | no call yet | — | |
0. | 5 | no call yet | — | |
0. | 5 | no call yet | — |
A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.
Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.
9 · Links
Links
Last changed 2026-12-02. This page as Markdown: /plugins/stripe.md