#PERF-Fingerprint
1 messages · Page 1 of 1 (latest)
You would have to build out your own custom logic for that, but theoretically yes. You'd just need to check the card's fingerprint after the Payment Method was created, then detach the payment method from the customer
so basically
- payment method is added
- Check fingerprint against other payment methods
- If match remove that added payment method
would the finger prints only match when all card details are the same for example?
Exp date / number / name / cvc?
Not necessarily. There's an edge-case where one payment method is automatically updated (see this article: https://stripe.com/newsroom/news/network-tokens-card-account-updater), but the other is not, but they are viewed (more or less) as the same card. You can count on the fingerprint to represent the same payment method though
alright, so for all intents and purposes if two finger prints match they are the same payment method
Correct
if the same credit card is attached to two different customer would those two card share the fingerprint as well ?
Yes
there isn't a way to query payment methods based on finger prints though is there?
Unfortunately not, no