fieldtrip
tools / payments / stripe / codex

Stripe in Codex.

Codex can work in Stripe with practice money. Real money stays with you. This is for the Codex app or Codex in your Terminal, on your own Mac or Linux computer.

passed Nov 16 · Stripe CLI

fieldtrip add stripe

New to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh

Codex 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 Codex

Paste one into Codex. Underneath: what it runs.

How it’s set up for Codex

the keyIn Codex's own settings, ~/.codex/config.toml, in the part that only applies to the commands Codex runs. Your Terminal can't see it.
the noteSaved as a skill in ~/.agents/skills/stripe, where Codex looks. Codex reads it when you ask about Stripe. It tells Codex 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 setupQuit Codex and start it again. It reads its settings when it starts.
two checksCodex has its own settings for when it asks before running a command. fieldtrip's note adds a check that doesn't depend on them.
check itAsk Codex on your computer to run fieldtrip doctor. It should say “Running in Codex” and show a ✓ beside Stripe.

Do this once.

  1. Make a restricted key in Stripe, in test mode. fieldtrip will give you the link and tell you which boxes to tick, and why.
  2. Paste your key when fieldtrip asks you to.

Your key goes into your Terminal when fieldtrip asks. It never goes through Codex’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

Stripe in Claude Code → · Stripe in Cursor →

← All of Stripe: every AI, every version · Stripe in Claude Code → · Stripe in Cursor → · What’s a CLI?