# Checkout Sessions から決済手段タイプのパラメーターを削除

## 新機能

[Checkout Session の作成](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive)メソッドから [payment_method_types](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive#create_checkout_session-payment_method_types) パラメーターを削除。Checkout Session を作成する際に `payment_method_types` を渡すことはできなくなりました。コードを記述せずにダッシュボードから決済手段を管理するには、[動的な決済手段](https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods.md)を使用します。

[excluded_payment_method_types](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive#create_checkout_session-excluded_payment_method_types) を使用して、動的な決済手段として返される結果から特定の決済手段を除外することや、新しい [allowed_payment_method_types](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive#create_checkout_session-allowed_payment_method_types) パラメーターを使用して決済手段のセットを指定することもできます。

[allowed_payment_method_types](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive#create_checkout_session-allowed_payment_method_types) パラメーターは決済手段タイプの配列を受け取り、`currency`、`amount`、`customer` といった他のパラメーターに基づいて、対応する決済手段だけにリストを絞り込みます。絞り込まれた決済手段は、レスポンスの [payment_method_types](https://docs.stripe.com/api/checkout/sessions/object.md?api-version=2026-09-30.endive#checkout_session_object-payment_method_types) プロパティに表示されます。

以前は、[payment_method_types](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-08-26.dahlia#create_checkout_session-payment_method_types) で対応していない決済手段を指定すると、エラーが返されていました。`allowed_payment_method_types` では、対応していない決済手段はエラーを返さずに除外され、現在の設定で使用できる決済手段だけが返されます。

## 互換性に関わる変更である理由

[Checkout Session を作成](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive)する際にパラメーターとして `payment_method_types` を渡すと、`400` エラーが返されるようになりました。実装でこのパラメーターを設定している場合は、パラメーターを削除し、[動的な決済手段](https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods.md)または [allowed_payment_method_types](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-09-30.endive#create_checkout_session-allowed_payment_method_types) に移行する必要があります。

## 影響

Checkout Session の作成時に実装で `payment_method_types` を渡している場合は、この移行を行う際に注意が必要です。エラーの代わりに自動的な互換性フィルタリングを使用するには、[動的な決済手段](https://docs.stripe.com/payments/payment-methods/dynamic-payment-methods.md)を使用するか、`allowed_payment_method_types` に切り替えるように実装を更新します。現在、`payment_method_types` を含むリクエストは `400` エラーを返します。

## 変更点

#### REST API

| Parameters | Change | Resources or endpoints |
| --- | --- | --- |
| `allowed_payment_method_types` | Added | [Checkout.Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [Checkout.Session#create](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `payment_method_types` | Removed | [Checkout.Session#create](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### Ruby

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `allowed_payment_method_types` | Added | [Checkout::Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [Checkout::SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `payment_method_types` | Removed | [Checkout::SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### Python

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `allowed_payment_method_types` | Added | [Checkout.Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `payment_method_types` | Removed | [checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### PHP

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `allowed_payment_method_types` | Added | [Checkout.Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [Checkout\Session.create().$params](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `payment_method_types` | Removed | [Checkout\Session.create().$params](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### Java

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `allowedPaymentMethodTypes` | Added | [checkout.Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `paymentMethodTypes` | Removed | [checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### Node.js

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `allowed_payment_method_types` | Added | [Checkout.Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [Checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `payment_method_types` | Removed | [Checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### Go

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `AllowedPaymentMethodTypes` | Added | [CheckoutSession](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [CheckoutSessionParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `PaymentMethodTypes` | Removed | [CheckoutSessionParams](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

#### .NET

| Parameters | Change | Resources or methods |
| --- | --- | --- |
| `AllowedPaymentMethodTypes` | Added | [Checkout.Session](/api/checkout/sessions/object?api-version=2026-09-30.endive#checkout_session_object), [Checkout.SessionCreateOptions](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |
| `PaymentMethodTypes` | Removed | [Checkout.SessionCreateOptions](/api/checkout/sessions/create?api-version=2026-09-30.endive#create_checkout_session) |

## アップグレード

#### REST API

1. ワークベンチで[現在の API バージョンを確認](https://docs.stripe.com/workbench/guides.md#view-api-versions)してください。
2. SDK を使用している場合は、この API バージョンに対応する SDK バージョンにアップグレードします。
   - SDK を使用しない場合は、[API リクエスト](https://docs.stripe.com/api-versions.md#how-versions-are-specified-in-requests)を更新して `Stripe-Version: 2026-09-30.endive` を含めてください
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### Ruby

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. Ruby SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### Python

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. Python SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### PHP

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. PHP SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### Java

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. Java SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### Node.js

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. Node SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### Go

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. Go SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

#### .NET

1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。
2. .NET SDK を 最新バージョンにアップグレードします。
3. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。
4. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。
5. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。
6. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。

[Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。

## 関連する変更

- [3D セキュア認証における Data Share Only のサポートを追加](https://docs.stripe.com/changelog/endive/2026-09-30/data-share-only.md)
- [Payment Evaluation のシグナルスコアを null 許容に変更](https://docs.stripe.com/changelog/endive/2026-09-30/payment-evaluations-nullable-score.md)
- [Payment Methods から PayTo 固有のフィールドを削除](https://docs.stripe.com/changelog/endive/2026-09-30/removed-payto-fields.md)
- [EEA 域外の SEPA ダイレクトデビット決済における請求先住所パラメーターの収集を必須化](https://docs.stripe.com/changelog/endive/2026-09-30/require-sepa-direct-debit-address-fields.md)
- [Payment Intents と Setup Intents から決済手段タイプのパラメーターを削除](https://docs.stripe.com/changelog/endive/2026-09-30/removes-the-payment-method-types-parameter-from-payment-intents-and-setup-intents.md)
- [BLIK 決済の失敗時に個別の拒否コードを返すように変更](https://docs.stripe.com/changelog/endive/2026-09-30/blik-granular-decline-codes.md)
- [Payment Request Button を非推奨化](https://docs.stripe.com/changelog/endive/2026-09-30/deprecate-payment-request-button.md)
- [stripe.handleNextAction を使用して MB WAY、Bizum、BLIK のオーソリ保留中の UI を表示](https://docs.stripe.com/changelog/endive/2026-09-30/handle-next-action-mb-way-bizum-ui.md)
- [Elements で決済手段タイプオプションのサポートを終了](https://docs.stripe.com/changelog/endive/2026-09-30/remove-elements-deferred-intent-payment-method-types.md)
- [Checkout で今後のオフセッション決済に使用する Bancontact の決済情報を保存](https://docs.stripe.com/changelog/endive/2026-09-30/bancontact-off-session-payments-checkout.md)
- [Standalone 3D Secure API を追加](https://docs.stripe.com/changelog/endive/2026-09-30/standalone-3ds.md)
- [SeQura 決済への対応を追加](https://docs.stripe.com/changelog/endive/2026-09-30/sequra-payments.md)
- [許可される決済手段の種類に対面カード決済を追加](https://docs.stripe.com/changelog/endive/2026-09-30/card-present-and-interac-present-enum-values-for-allowed-payment-method-types.md)
- [Payment Records に Link の資金源グループの詳細を追加](https://docs.stripe.com/changelog/endive/2026-09-30/link-funding-source-group-payment-records.md)
- [Payment Evaluations 向けの不正利用の早期警告と不審請求の申し立てのシグナルを追加](https://docs.stripe.com/changelog/endive/2026-09-30/new-radar-signals-for-payment-evaluations.md)
- [キャンセルされた支払いを報告する機能を追加](https://docs.stripe.com/changelog/endive/2026-09-30/reporting-canceled-payments.md)
- [カード決済手段の詳細における mandate の展開サポートを追加](https://docs.stripe.com/changelog/endive/2026-09-30/expand-mandate-on-card-payments-details.md)
- [Payment Intent オブジェクトに Payment Record プロパティを追加](https://docs.stripe.com/changelog/endive/2026-09-30/payment-records-on-payment-intents.md)
- [カード決済の Payment Records に Link ウォレットの詳細を追加](https://docs.stripe.com/changelog/endive/2026-09-30/adds-link-wallet-details-to-payment-records-for-card-payments.md)
- [Payment Records に 3D セキュアバージョン 2.3.0 および 2.3.1 を追加](https://docs.stripe.com/changelog/endive/2026-09-30/3d-secure-payment-records.md)
- [BLIK のオフセッション継続決済のサポートを追加](https://docs.stripe.com/changelog/endive/2026-09-30/blik-recurring-off-session-payments.md)
- [日本での 1 回限りのオンライン決済向けに PayPay のサポートを追加](https://docs.stripe.com/changelog/endive/2026-09-30/paypay-payments-japan.md)
- [カード決済のネットワーク応答に含まれる E コマースインジケーターを公開](https://docs.stripe.com/changelog/endive/2026-09-30/view-network-response-eci-on-card-charges.md)
- [失敗した決済に決済手段タイプの情報を追加](https://docs.stripe.com/changelog/endive/2026-09-30/payment-method-type-payment-failures.md)
- [Payment Records に MoMo 決済手段の詳細を追加](https://docs.stripe.com/changelog/endive/2026-09-30/adds-momo-payment-method-details-to-payment-records.md)
