#Reyansh Sharma
1 messages · Page 1 of 1 (latest)
You have to create a Payment Method from the card, then you can check the card.fingerprint field on the Payment Method:
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Using Terminal reader so card needs to be swiped.
Same thing, you create a Payment Method and then check its fingerprint value. Is there more context here?
I meant is the SetupIntent the only way? Or do we have anything else we can use to do that?
Currently doing the following:
- I am creating a SetupIntent.
- Then call ProcessSetupIntent of reader service to initiate card swipe on reader.
- Then getting the fingerprint from the paymentMethod?.Card?.Fingerprint
If you aren't processing a payment, then a Setup Intent is the right approach.
and the only approach?
yes