Stripe CLI Cheat Sheet/Create a payment intent

Create a test payment intent from the terminal.

Section: Resource CRUD Patterns

Create a payment intent

bash
bash
stripe payment_intents create --amount 5000 --currency usd

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Resource CRUD Patterns
Create a customer
Create a basic customer directly from the CLI.
OpenIn sheetbashsame section
Create a product
Create a one-time or recurring product entry.
OpenIn sheetbashsame section
Create a one-time price
Attach a price to a product.
OpenIn sheetbashsame section
Create a recurring monthly price
Attach a monthly recurring price to a product.
OpenIn sheetbashsame section
Confirm a payment intent
Confirm an existing payment intent if your flow requires it.
OpenIn sheetbashsame section
Create a refund
Refund a successful charge or payment intent.
OpenIn sheetbashsame section