#Arnostronaut
1 messages · Page 1 of 1 (latest)
Do you have a request ID?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I posted it, just hid the key and email
yes one second
"request_log_url": "https://dashboard.stripe.com/test/logs/req_QE6EEMjuKg5rwm?t=1695749736",
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
req_QE6EEMjuKg5rwm
extracted the id from url
Okay perfect! Thank you
Can you try running it with the query language syntax mentioned here?
https://stripe.com/docs/search#query-fields-for-customers
The syntax looks something like name~"Anji"
that being query="email~'theEmail'" ?
or without the query parameter
and just email~'theEmail'
basically is thew new synthax requiring to replace the : with ~
I tried but it returns the same error
this gives same error
Can you copy/paste the exact command?
I deleted the message because it had and API key in it. Please make sure you redact those when you post to this channel
well you asked for exact command
curl https://api.stripe.com/v1/customers/search
-u sk_test_*****:
-H "Stripe-Version: 2023-08-16"
--data-urlencode query="email~'anjikyuzan@hotmail.com'" \
-G
This exact command is working for me just fine. Can you try using it and replacing the email?
curl https://api.stripe.com/v1/customers/search \ -u sk_test_51E7<redacted>: \ -H "Stripe-Version: 2023-08-16" \ --data-urlencode query="email:'someguy@test.com'" \ -G
Ahhh, yup. That'll do it!