#jsd219_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1255886980215210024
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
ah good question. I think it might be a connected account but how can i tell for sure?
What is the Dashboard URL that you are on when you are viewing these Customers?
The most likely thing is that you aren't passing the Stripe Account header (see: https://stripe.com/docs/connect/authentication) when you are making your API requests
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Okay yeah that's not a Connected Account
Have you double checked you are using the correct keys?
yes, it is a restricted key
Otherwise, can you provide a request ID (https://support.stripe.com/questions/finding-the-id-for-an-api-request) for your Search request?
You will need to filter your logs to see GET requests
but here is the wierd part. at the URL above. stripe has their own filtering menu. If i click on Email and put in the email of the first entry it comes up No results
We don't really know much about the Dashboard here -- we just focus on the use of the API. If you have questions or bug reports for Dashboard behavior then you'll want to work with our Support team via https://support.stripe.com/contact/login
got it, i just thought that might be a clue ๐
Not really, best way I can help is to see a request ID for the API request you are making
ok interesting, when i go to the logs i dont see any from my api calls
Even when you filter to show GET requests?
If so, then yeah you are using the wrong API key (not the one for the account that you are looking at in the Dashboard)
ya i am seeing only POST and when i go to API endpoint and enter /v1/customers i get nothing. i also tried GET /v1/customers and got nothing. I might be doing it wrong
in postman i have a GET request to https://api.stripe.com/v1/customers my Authorization is set to Basic Auth and the username is the restriceted key. this is what i get { "object": "list", "data": [], "has_more": false, "url": "/v1/customers" }
Which account owns the key you're using?
Likely you're making the request on the wrong account
If using a platform key, you'd need to pass the stripe account header
I found the GET requests here is the request ID: req_jqlZXmJXMBvTtf
I am using a restricetd key ???
i am here: https://dashboard.stripe.com/apikeys
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
that allows read only on Customers, Customer portal, Invoice, Prices, Subsciptions
Yeah but likely that restricted key is a platform key
Belonging to the connect account's platform account
how can i tell?
Looks like the key belongs to
acct_1OHAW9AUcZuRPCmE, which is neither a connect account nor a platform
The request you're making is also a livemode requets
Does the customer only exist in test mode?
Can you share the customer id for that customer that you are seeing in the dashboard so I can verify?
how can i get the customer id?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Oh
It's a guest customer not a customer
That's why
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.
Guest customers aren't actual customer objects
So you can't use the api to list them
ah, is there any endpoint to see them?
nah
They're not listable via the api
Because they're not real customers
It's a dashboard only concept to group payments by email that aren't associated with a customer
what about using the api to look up orders or payments via an email?
It's a bit harder that way because the email is stored on the payment method object not the charge or payment intent directly
Really I recommend creating customers up-front in your flow
ok thank you for your time and help i really appreciate it ๐