Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Adds support for blocking specific card brands in Checkout Sessions


Adds support for blocking specific card brands in Checkout Sessions

What’s new

Adds the payment_method_options.card.restrictions.brands_blocked parameter to the Create a Checkout Session method. You can pass in an array of card brands that you don’t want the Checkout Session to allow.

Impact

For details about how to filter card brands in Checkout, see the guide on customizing Checkout behavior.

Changes

Upgrade

  1. View your current API version in Workbench.
  2. 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 to include Stripe-Version: 2025-02-24. acacia
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?