Customize checkout behavior
Customize the behavior of the checkout process to increase conversion and revenue.
Filter card brands 
You can specify which card brands you want to block from your customers in the Checkout Session.
To block specific card brands, you can include the brands_
parameter when creating a Checkout Session. Pass an array with any of the following card brand values:
visa
mastercard
american_
express discover_
global_ network
The discover_
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 initializes the Checkout Session with the brands_
parameter set to ['american_
, which prevents customers from using American Express cards.
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).
Additionally, Link also disables saved cards for returning users if the saved card is blocked.

If a Link user’s saved card is blocked, it is disabled.
Checkout also filters cards in Apple and Google Pay wallets, customer’s saved payment methods, and networks from co-badged cards.