TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why doesn't Stripe allow you to get BIN numbers?

1 pointsby caydenmalmost 2 years ago
BIN numbers (first 6 digits of a credit card number) are used for everything from fraud prevention to showing a user which bank their payment card was from.<p>Seemingly all other payment processors give BIN information as part of their webhooks and APIs, but Stripe does not.<p>Is there a reason for this? Different interpretation of PCI compliance?

1 comment

smcaalmost 2 years ago
It&#x27;s still best practice to minimize the amount of card data shared. You can accomplish most of what you&#x27;re looking to do using a combination of `card.brand`, `card.last4`, and expiry dates. &quot;Visa ending in 4242, expires 09&#x2F;24.&quot;<p>You can also write much more robust rules using Radar: <a href="https:&#x2F;&#x2F;stripe.com&#x2F;docs&#x2F;radar&#x2F;rules" rel="nofollow">https:&#x2F;&#x2F;stripe.com&#x2F;docs&#x2F;radar&#x2F;rules</a>. Something like: `Review if :is_disposable_email: and :card_funding: = &#x27;prepaid&#x27;`
评论 #36145828 未加载