# Adds the ability to specify a payment method configuration in the customer portal ## What’s new Adds the ability to control which payment methods are available in the [customer portal](https://docs.stripe.com/customer-management.md) using the new [payment_method_configuration](https://docs.stripe.com/api/customer_portal/configurations/object.md?api-version=2025-11-17.clover#portal_configuration_object-features-payment_method_update-payment_method_configuration) field of the [CustomerPortalConfiguration](https://docs.stripe.com/api/customer_portal/configurations.md?api-version=2025-11-17.clover). Create a [Payment Method Configuration](https://docs.stripe.com/api/payment_method_configurations.md?api-version=2025-11-17.clover) containing the payment methods that you want to allow, and specify its ID as the `features.payment_method_update.payment_method_configuration` of the Customer Portal Configuration. ## Impact You can now specify which payment methods customers can use in the customer portal with a Payment Method Configuration. Previously, the customer portal allowed customers to add any payment method that was enabled for your account. Review your existing Payment Method Configurations to select the appropriate set of payment methods, or create a new configuration to align with your checkout flow or business requirements. ## Changes #### REST API | Parameter | Change | Resources or endpoints | | ------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method_configuration` | Added | [BillingPortal.Configuration.features.payment_method_update](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### Ruby | Parameter | Change | Resources or methods | | ------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method_configuration` | Added | [BillingPortal::Configuration::Feature::PaymentMethodUpdate](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### Python | Parameter | Change | Resources or methods | | ------------------------------ | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `payment_method_configuration` | Added | [BillingPortal.Configuration.Feature.PaymentMethodUpdate](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### PHP | Parameter | Change | Resources or methods | | ------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method_configuration` | Added | [BillingPortal.Configuration.features.payment_method_update](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### Java | Parameter | Change | Resources or methods | | ---------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `paymentMethodConfiguration` | Added | [billingportal.Configuration.features.payment_method_update](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### Node.js | Parameter | Change | Resources or methods | | ------------------------------ | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method_configuration` | Added | [BillingPortal.Configuration.features.payment_method_update](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### Go | Parameter | Change | Resources or methods | | ---------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `PaymentMethodConfiguration` | Added | [BillingPortalConfigurationFeaturesPaymentMethodUpdate](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | #### .NET | Parameter | Change | Resources or methods | | ---------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `PaymentMethodConfiguration` | Added | [BillingPortal.Configuration.Features.PaymentMethodUpdate](/api/customer_portal/configurations/object?api-version=2025-11-17.clover#billing_portal_configuration_object-features-payment_method_update) | ## Upgrade #### REST API 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. If you use an SDK, upgrade to the corresponding SDK version for this API version. - If you don’t use an SDK, update your [API requests](https://docs.stripe.com/api/versioning.md) to include `Stripe-Version: 2025-11-17.clover` 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Ruby 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Ruby SDK to [v17.2.0](https://github.com/stripe/stripe-ruby/releases/tag/v17.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Python 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Python SDK to [v13.2.0](https://github.com/stripe/stripe-python/releases/tag/v13.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### PHP 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your PHP SDK to [v18.2.0](https://github.com/stripe/stripe-php/releases/tag/v18.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Java 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Java SDK to [v30.2.0](https://github.com/stripe/stripe-java/releases/tag/v30.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Node.js 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Node SDK to [v19.3.0](https://github.com/stripe/stripe-node/releases/tag/v19.3.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Go 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Go SDK to [v83.2.0](https://github.com/stripe/stripe-go/releases/tag/v83.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### .NET 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your .NET SDK to [v49.2.0](https://github.com/stripe/stripe-dotnet/releases/tag/v49.2.0) 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). ## Related changes - [Adds filtering by creation date to Customer Balance Transactions lists](https://docs.stripe.com/changelog/clover/2025-11-17/customer-balance-transactions-list-created.md) - [Adds filtering by creation date to Invoice Payment lists](https://docs.stripe.com/changelog/clover/2025-11-17/invoice-payments-list-created.md)