#NewtReyes - CC BIN

1 messages · Page 1 of 1 (latest)

coral saddle
#

So are you referring to after you've used the Stripe Element to return a Payment Method?

last sapphire
#

Or maybe using JS

#

before the payment method gets created

#

something like card_element.bin()

#

?

coral saddle
last sapphire
#

Nevertheless, I can see that type of information in the dashboard

#

Here's an example

coral saddle
#

Okay great, that does clarify things.

#

Thanks

last sapphire
#

Another example

#

Is there any way to retrieve that information from the API?

coral saddle
#

And just to clarify where are you seeing these messages?

#

What objects are you looking at?

#

In the PaymentMethod API, the card.brand and card.funding get you what is displayed here as 'Type'

jaunty arrow
#

You cannot access the full BIN of the card, though

#

As @coral saddle mentioned, the funding is available on the payment method object when you create that, but when/where this is available depends on your integration and what you're trying to achieve

last sapphire
#

Excellent

#

how do we get the bank?

jaunty arrow
#

That's not available via the public API. If you have a specific need for this, you should write in to our support team with a detailed description of your use case so they can evaluate any potential options for your account.
https://support.stripe.com/contact or email support@stripe.com