Stripe CLI Cheat Sheet/Create a refund

Refund a successful charge or payment intent.

Section: Resource CRUD Patterns

Create a refund

bash
bash
stripe refunds create --payment-intent pi_123

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 payment intent
Create a test payment intent from the terminal.
OpenIn sheetbashsame section
Create a Checkout Session
Generate a hosted Checkout session for a price.
OpenIn sheetbashsame section
Create a customer
Create a basic customer directly from the CLI.
OpenIn sheetbashsame section
List customers
List recent customers in your account.
OpenIn sheetbashsame section
Retrieve a customer
Fetch a single customer by ID.
OpenIn sheetbashsame section
Update a customer
Modify customer fields such as email or metadata.
OpenIn sheetbashsame section