#Gilad

1 messages · Page 1 of 1 (latest)

brisk atlasBOT
amber flume
#

Do you have an example customer that you are not getting back like this?

#

As far as I know that customer should be returned in the normal list call

forest jewel
#

Hi

#

Thanks,

#

It's works with query instead opf list

#

this.stripe.customers.search({ query: email:'${email.toLocaleLowerCase()}' })

amber flume
#

Ah thank you for the clarification. I think our search API only does exact matches so it wouldn't know that person@example.com is the same as person+word@example.com

#

So in my example if you just search "person" that would return both emails. Here it might be good to just search the part of the email address before the + or @ and then have some logic to confirm they are the same email otherwise