{
  "slug": "stripe-cli-api-request-commands-accept-custom-request-headers-b428516ab4c3",
  "title": "stripe-cli API request commands accept custom request headers",
  "tools": [
    "stripe-cli"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-29T18:08:47.000Z",
  "announced_at": "2026-09-29T18:08:47.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Add a custom header when making an API request with stripe-cli.",
  "sources": [
    "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"
  ],
  "rank": 0.97041,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1-20261014",
    "verdict_id": "wave1-20261014:wave1-20261014-e9e5a543b571a632-0:gate",
    "evidence_hash": "723d3e053a2cdd25e89d0543ad6f1e334bb2e825a0473589b5840a4918a371ed"
  },
  "review": {
    "draft_hash": "29ef8c626fbb9eb08e665c6c73fbe0b7b461e8f3d0154b2933157594eb187e36",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1-20261014:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
