# Adds card brand restrictions to Payment Links

## What’s new

You can block specific card brands when creating or updating [Payment Links](https://docs.stripe.com/api/payment-link.md?api-version=2026-05-27.dahlia) using the [payment_method_options[card][restrictions][brands_blocked]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-payment_method_options-card-restrictions-brands_blocked) parameter. This feature allows you to specify which card brands customers can’t use to complete payments on your Payment Links.

The [brands_blocked](https://docs.stripe.com/api/payment-link/create.md?api-version=2026-05-27.dahlia#create_payment_link-payment_method_options-card-restrictions-brands_blocked) parameter accepts an array of card brand strings. Supported values include `visa`, `mastercard`, `american_express`, and `discover_global_network`. When a customer attempts to enter or select a card from a blocked brand, they can’t complete the payment and must choose a different payment method.

This feature is available when you [create](https://docs.stripe.com/api/payment-link/create.md?api-version=2026-05-27.dahlia) and [update](https://docs.stripe.com/api/payment-link/update.md?api-version=2026-05-27.dahlia) Payment Links, bringing Payment Links in line with the existing card brand filtering capabilities available in [Checkout Sessions](https://docs.stripe.com/api/checkout/sessions/create.md?api-version=2026-05-27.dahlia#create_checkout_session-payment_method_options-card-restrictions-brands_blocked).

## Impact

This feature is useful for businesses on interchange-plus pricing who want to avoid higher-cost card brands, or those with processing limitations that require separate handling for certain card brands.

To implement card brand restrictions, add the `payment_method_options[card][restrictions][brands_blocked]` parameter when you create or update a Payment Link. You can’t block all supported card brands in one Payment Link.

## Changes

#### REST API

| Parameter | Change | Resources or endpoints |
| --- | --- | --- |
| `payment_method_options` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLink#create](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLink#update](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

#### Ruby

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `payment_method_options` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLinkUpdateParams](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

#### Python

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `payment_method_options` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLinkModifyParams](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

#### PHP

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `payment_method_options` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLink.create().$params](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLink.update().$params](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

#### Java

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `paymentMethodOptions` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLinkUpdateParams](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

#### Node.js

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `payment_method_options` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLinkUpdateParams](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

#### Go

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `PaymentMethodOptions` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLinkParams](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link) |

#### .NET

| Parameter | Change | Resources or methods |
| --- | --- | --- |
| `PaymentMethodOptions` | Added | [PaymentLink](/api/payment-link/object?api-version=2026-05-27.dahlia#payment_link_object), [PaymentLinkCreateOptions](/api/payment-link/create?api-version=2026-05-27.dahlia#create_payment_link), [PaymentLinkUpdateOptions](/api/payment-link/update?api-version=2026-05-27.dahlia#update_payment_link) |

## 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.
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](https://docs.stripe.com/api/versioning.md) to include `Stripe-Version: 2026-05-27.dahlia`
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Ruby SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Python SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your PHP SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Java SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Node SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your Go SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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.
2. Upgrade your .NET SDK to the latest version.
3. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md).
4. [Test your integration](https://docs.stripe.com/testing.md) against the new version.
5. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md).
6. 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 support for Twint as a payment method for recurring payments](https://docs.stripe.com/changelog/dahlia/2026-05-27/recurring-payments-twint.md)
- [Adds destination payment description and metadata support to transfer data](https://docs.stripe.com/changelog/dahlia/2026-05-27/transfer-data-destination-payment-description-and-metadata.md)
- [Adds active status filtering to payment method configurations](https://docs.stripe.com/changelog/dahlia/2026-05-27/payment-method-configurations-active-status-filtering.md)
- [Adds support for Scalapay payments](https://docs.stripe.com/changelog/dahlia/2026-05-27/scalapay-payments.md)
