#meteograms-duplicate

1 messages · Page 1 of 1 (latest)

restive spire
#

I need to step away so I’m going to archive this thread. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

icy bolt
#

OK. I really meant searching for duplicates without knowing in advance what is duplicated... so maybe the API is better?

restive spire
#

it really depends on what you're trying to do here :

  • if you're trying to prevent duplicate customers in your system, then yes, before creating the Customer, you can make a retrieve Customers call to check if there are any Customers with this email first
  • if you're trying to prevent duplicate payment methods on a Customer, you can retrieve the Payment Methods on that customer and loop through each to check the fingerprint