#Emerson Garrido-customer-duplication
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ just want to make sure we're on the same page, are you referring to creating customer objects?
yes, client accesses my site informs my email and based on this and created his account on stripe.
I would like to consult before creating the customer account to create a non-duplicate, because in the stripe this creation is 2x 3x and this is the client itself that is doing.
Accounts and customers are two distinct types of objects within Stripe, so I want to make sure we're aligned.
You're referring to creating a customer object, right?
https://stripe.com/docs/api/customers
And not an account (used for Connect flows)
https://stripe.com/docs/api/accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you are talking about creating a customer, then before creating them you can first list all customer records and use email as a filter on that request:
https://stripe.com/docs/api/customers/list#list_customers-email
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.