Stripe CLI Cheat Sheet/Pipe JSON output to jq

Extract specific fields from a CLI response.

Section: Core CLI Usage Patterns

Pipe JSON output to jq

bash
bash
stripe customers list --limit 3 | jq ".data[] | {id, email}"

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 Core CLI Usage Patterns
List resources with a limit
Limit the number of returned objects.
OpenIn sheetbashsame section
Expand nested objects in the response
Request expanded objects directly from Stripe.
OpenIn sheetbashsame section
Send an idempotency key
Protect retried write requests from duplication.
OpenIn sheetbashsame section
Attach metadata when creating resources
Store key-value metadata on supported objects.
OpenIn sheetbashsame section
Expand multiple nested objects
Return several expanded fields in one request.
OpenIn sheetbashsame section
Send a raw GET request
Call an arbitrary Stripe API endpoint directly.
OpenIn sheetbashsame section