Stripe CLI Cheat Sheet/Expand nested objects in the response

Request expanded objects directly from Stripe.

Section: Core CLI Usage Patterns

Expand nested objects in the response

bash
bash
stripe subscriptions list --expand data.customer

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
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
Send a raw POST request
Call an arbitrary POST endpoint directly from the CLI.
OpenIn sheetbashsame section
List resources with a limit
Limit the number of returned objects.
OpenIn sheetbashsame section
Pipe JSON output to jq
Extract specific fields from a CLI response.
OpenIn sheetbashsame section
Send an idempotency key
Protect retried write requests from duplication.
OpenIn sheetbashsame section