Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

Customise card brands


Customise card brands

Customise the card brands that Checkout displays.

You can customise the card brands you want to display to your customers during checkout.

To block specific card brands, include the brands_blocked parameter when you create a Checkout Session. Pass an array with any of the following card brand values:

  • visa
  • mastercard
  • american _ express
  • discover _ global _ network

The discover_global_network value encompasses all of the cards that are part of the Discover Global Network, including Discover, Diners, JCB, UnionPay and Elo.

The following code example initialises the Checkout Session with the brands_blocked parameter set to ['american_express'], which prevents customers from using American Express cards.

Command Line

Select a language

cURL

Stripe CLI

Ruby

Python

PHP

Java

Node.js

Go

.NET

No results

If a customer enters an unsupported card number in Checkout, an error message notifies them that their card brand isn’t accepted.

An error surfaces informing the customer that you don’t accept Visa (or whatever card brand you have blocked).

Link also disables saved cards for returning customers if the saved card is blocked.

If a Link user’s saved card is blocked, it’s disabled.

Checkout also filters cards in Apple and Google Pay wallets, customer’s saved payment methods and networks from co-badged cards.

Last verified 2026-09-25

Is this helpful?