Find the type of card a customer is using
There are two ways to find out the type of card your customer is using:
Using the Dashboard
In the Card Details section of the charge page beneath the expiration date, the “Type” field will display the card type. If the customer saved their card, you can also find this information under the Card section of their Customer page.
The options are:
Unknown (shown if Stripe was unable to determine its funding type)
The brand will also be displayed, such as Visa, American Express or any other currently supported card brand. A card brand may be
unknown if Stripe was unable to determine its brand.
Using the API
fundingparameter of the card object exposes whether the card is a
prepaidcard. A card may be
unknownif Stripe was unable to determine its funding type.
The brand parameter of the card object exposes whether the card brand is
Diners Club. A card brand may be
unknownif Stripe was unable to determine its brand.