CardBrandAcceptance:
    | { filter: All }
    | { filter: Allowed; brands: CardBrandCategory[] }
    | { filter: Disallowed; brands: CardBrandCategory[] }

Options to block certain card brands on the client

Type declaration

  • { filter: All }
    • filter: All

      Accept all card brands supported by Stripe

  • { filter: Allowed; brands: CardBrandCategory[] }
    • filter: Allowed

      Accept only the specified card brands

    • brands: CardBrandCategory[]

      List of card brands to accept Note: Any card brands that do not map to a CardBrandCategory will be blocked when using an allow list

  • { filter: Disallowed; brands: CardBrandCategory[] }
    • filter: Disallowed

      Accept all card brands except the specified ones

    • brands: CardBrandCategory[]

      List of card brands to block Note: Any card brands that do not map to a CardBrandCategory will be accepted when using a disallow list

MMNEPVFCICPMFPCPTTAAATR