#Gautam-ach-fingerprint

1 messages · Page 1 of 1 (latest)

peak hull
weary hearth
#

Thanks for your answers ..fingerprint will help us to understand the unique bank account ..but if don't want to create bank account object if customer has already one with same details how we can avoid that..In addition to that if there is way to get all ach details for a customers so manually I can verify the name ,routing number and last4 before hitting the stripe to create bank account

peak hull
#

The fingerprint field only supports payment methods including bank account and card, there is no unique identifier or fingerprint for the customer object.
There is a way to list all customers for your account [0] and check within your code to verify if there are specific fields you would like to match before creating their payment method.
[0] https://stripe.com/docs/api/customers/list

weary hearth
#

Sorry , actually I want to retrieve all bank accounts details associated to a customer

#

not all customers

#

something like this
const paymentMethods = await stripe.customers.listPaymentMethods(
'cus_9a8lCWQ8lW1SU3',
{type: 'card'}
); But insteda of card I need bank account

peak hull