Stripe in Cursor.
Cursor can work in Stripe with practice money. Real money stays with you. This is for Cursor on your own Mac or Linux computer.
passed Nov 16 · Stripe CLI
fieldtrip add stripeNew to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh
Cursor can
- Look up payments, customers and refunds.
- Make practice payments to test your code.
- Watch payment events while you build.
Asks you first
- Refund, charge or pay out.
- Delete anything.
Can't do
- Touch real money.
Try asking Cursor
Paste one into Cursor. Underneath: what it runs.
How much practice money is in my Stripe test account?
stripe balance retrieveShow me the last 5 test payments.
stripe charges list --limit 5your key needs Charges: ReadMake a fake successful payment so I can test my code.
stripe trigger payment_intent.succeededyour key needs PaymentIntents: WriteRefund the test payment from Jane.
stripe refunds create --charge ch_…asks you firstyour key needs Charges: Write
How it’s set up for Cursor
| the key | Cursor has no settings file for keys, so the key stays in fieldtrip's own locked file. Cursor's AI runs each stripe command through fieldtrip, which adds the key for that one command and nothing else. |
|---|---|
| the note | Saved as a skill in ~/.claude/skills/stripe and ~/.agents/skills/stripe; Cursor reads both. It also tells Cursor to run stripe through fieldtrip. It tells Cursor to say the amount and the customer, and wait for your yes, before anything that moves money, because Stripe’s own tool only asks before deletes. |
| after setup | Nothing to restart for the key. If Cursor doesn't seem to know about Stripe yet, start a new chat. |
| two checks | Cursor can ask before it runs a command, depending on your settings. fieldtrip's note adds a check that doesn't depend on them. |
| check it | Ask Cursor on your computer to run fieldtrip doctor. It should say “Running in Cursor” and show a ✓ beside Stripe. |
Do this once.
- Make a restricted key in Stripe, in test mode. fieldtrip will give you the link and tell you which boxes to tick, and why.
- Paste your key when fieldtrip asks you to.
Your key goes into your Terminal when fieldtrip asks. It never goes through Cursor’s chat.
Checked every night
Yes. Stripe 1.55.11 passed all five checks, Mon, Nov 16 · 11:09 AM CST.
Each square is one night.
Other AIs
← All of Stripe: every AI, every version · Stripe in Claude Code → · Stripe in Codex → · What’s a CLI?