#Filip-bank
1 messages ยท Page 1 of 1 (latest)
Hi! What Stripe integration are you using? Checkout Session, PaymentIntent, something else?
Ground up, basically i'm using the base pre-build components, cardNumberElement, CardExpiry, CardCVC etc.
And at this stage I would need to fetch the bank
I haven't done my stripe service implementation as of yet
Got it! Well once you have a payment method stored in Stripe, you do have access to the brand property: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-brand
Yes you need the payment method to know the brand.
Oh wait... you are talking about the brand, I know that I can get that, I'm talking about the Bank based on the input card details
e.g. Chase, Bank of America, Santander etc.
Based on this: https://support.stripe.com/questions/find-the-type-of-card-a-customer-is-using
The brand parameter of the card object exposes whether the card brand is Visa, American Express, MasterCard, Discover, JCB or Diners Club. A card brand may be unknown if Stripe was unable to determine its brand.
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
For cards I don't see anything in the API related to the bank name: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card