{
  "slug": "stripe-checkout-sessions-removes-payment-method-types-on-creation-2563620951b1",
  "title": "Stripe Checkout Sessions removes `payment_method_types` on creation",
  "tools": [
    "stripe"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-30T00:00:00.000Z",
  "announced_at": "2026-09-30T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "If creating Checkout Sessions with `payment_method_types`, remove that parameter because it now returns HTTP 400. Use Dashboard-managed dynamic payment methods, or set `allowed_payment_method_types` to filter compatible methods; use `excluded_payment_method_types` to exclude methods.",
    "examples": [
      "curl https://api.stripe.com/v1/checkout/sessions \\\n  -u <secret_key>: \\\n  -d success_url=\"https://example.com/success\" \\\n  -d \"line_items[0][price]\"=<price_id> \\\n  -d \"line_items[0][quantity]\"=2 \\\n  -d mode=payment"
    ],
    "gotchas": [
      "Version: 2026-09-30.endive",
      "payment_method_types: Removed from Checkout Session creation; including it returns HTTP 400.",
      "allowed_payment_method_types: Array of payment method types; filters to methods compatible with parameters such as currency, amount, and customer. The compatible subset appears in the response’s `payment_method_types` property.",
      "excluded_payment_method_types: Excludes specific payment methods from dynamic payment method results. The create API parameter details were inaccessible, so its accepted values and exact syntax were not verified.",
      "Prerequisite: Dynamic payment methods can be configured in the Stripe Dashboard; only enabled methods can be shown to customers.",
      "Passing `payment_method_types` when creating a Checkout Session now returns a `400` error.",
      "`allowed_payment_method_types` accepts an array of payment method types and filters the list to methods compatible with other parameters such as `currency`, `amount`, and `customer`."
    ]
  },
  "why_it_matters": "Update an integration that creates Checkout Sessions with `payment_method_types` to use the supported payment method configuration.",
  "before": "Pass `payment_method_types` when creating a Checkout Session; specifying an incompatible payment method returned an error.",
  "sources": [
    "https://docs.stripe.com/changelog/endive/2026-09-30/remove-payment-method-types-checkout-sessions",
    "https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods"
  ],
  "rank": 0.97051,
  "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": "wave1b-tools-20261017",
    "verdict_id": "wave1b-tools-20261017:wave1b-tools-20261017-7bf68bd01b133e04-0:gate",
    "evidence_hash": "2ec5dbd9fadcb38b8b904ef1ad5a6aef9a14a8d68fd8199ab22c8cd880a897ba"
  },
  "review": {
    "draft_hash": "2a22f7123b1e9ef05843593f3cd0857058997c029937d8a798cd7fc1efd124f9",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-tools-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
