Skip to content

CardBrand

Card brands the SDK can detect. unknown (unmatched BIN, or a partial number) is not an error. Detecting a brand is not being able to charge it — the card element pays Visa only. Mastercard raises use_mastercard_option and the rest raise card_brand_not_supported.

export type CardBrand = "visa" | "mastercard" | "amex" | "discover" | "diners" | "jcb" | "unionpay" | "maestro" | "unknown";