stripe-cli API request commands accept custom request headers
Introduced 2026-09-29 · score 0.97
HOW TO USE IT
When an API request needs custom headers, pass one or more `-H` or `--request-header` options to the Stripe CLI request command. The v1.52.1 release note says the CLI validates and applies them, and includes them in dry-run and verbose output.
WHY THIS HELPS
Add a custom header when making an API request with stripe-cli.
REQUIREMENTS AND LIMITATIONS
- Version: v1.52.1
- -H / --request-header: Repeatable custom request header option for API request commands; exact value format and command syntax not found in the official v1.52.1 docs inspected.
FIRST-PARTY EVIDENCE
- https://github.com/stripe/stripe-cli/releases/tag/v1.52.1
- https://github.com/stripe/stripe-cli/pull/2082
- https://github.com/stripe/stripe-cli/blob/v1.52.1/pkg/requests/base.go
Check the installed version and the source before using it. Entry JSON