Protect retried write requests from duplication.
Section: Core CLI Usage Patterns
Send an idempotency key
bash
bash
stripe payment_intents create --amount 5000 --currency usd --idempotency-key order_123Learn 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 Core CLI Usage Patterns
Expand nested objects in the response
Request expanded objects directly from Stripe.
Attach metadata when creating resources
Store key-value metadata on supported objects.
Expand multiple nested objects
Return several expanded fields in one request.