#euler
1 messages · Page 1 of 1 (latest)
Yeah that's expected
Every time you post to create a customer a customer will be created
Even if the email has been already used
umm how would i check when a user is already registered
Ideally you would store your customers in your own database
You would just check against that before registering someone new
oh got you
so i would rather do a GET /customers/ before a POST
is it possible to do a GET /customers/email=?
Well ideally you would have your own database as a source of truth instead to check. But you could do a list: 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.
the thing is , on our business we are not storing if X email belongs to stripe already , because we have multiple online payment providers at the same time,
will take a look into it