#sergiu_api
1 messages Β· Page 1 of 1 (latest)
π Welcome to your new thread!
β²οΈ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
β±οΈ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1486363010615214130
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- sergiu_api, 2 hours ago, 30 messages
this is what i tried...
Hello! What are you expecting from this response? All the connected accounts for all the platforms in the organization? Or connected accounts for a specific platform?
Well it would be nice to get all standalone accounts, but I understand is only possible to fetch accounts connected to a platform account. I still dont have a confirmation from the client that have access to stripe account... He does not seem sure about the configuration
I understood that if his setup is having multiple standalone accounts in one org that would not be possible
Only if it have a platform account and all the merchants are child of the parent platform account, altough the stripe ai told me it should be possible to fetch standalone accounts and I am pretty confused
To get all connected accounts for a specific platform in the organization - you must set the Stripe-Context header to the platform account as the error message suggests. Our docs explain this more: https://docs.stripe.com/context
To get all connected accounts for all platforms in the organization - I'm not sure this is possible so you'd have to perform this operation per platform account.
However, do you mean you want to fetch all platform accounts that belong to the organization? Or does your organization have accounts that do not use Connect?
So we are working with a client - global food delivery. Our contact guy seems like it's not very confident in how the accounts are set up, so I am in dark and try to find solutions for all posibilities.
If he have platform accounts that would be easy, cause they only need to provide a few account id's that don't really change.
If they have only standalone accounts in the org that would be pretty bad because it means that we need to update manual and daily the list of accounts - because as you told me you don't think it's possible
For now he told me he belives that they have standalone accounts in organisations, and that it's odd because it means that accross continents, each restaurant have a standalone account that its added in our client's org, manually. And I find that hard to believe
When you say "standalone account" do you mean an account that does not use Connect?
yes, not connected to any platform account
Organization (org_6SD3oI0eSQemPzdmaGLJ5j6)
βββ Platform account (acct_1R3fqDP6919yCiFv)
| βββ Connected account (acct_1032D82eZvKYlo2C)
βββ Standalone account (acct_1aTnTtAAB0hHJ26p)
Client told me he thinks they have hundreds or thousands standalone accounts linked to the organisation
I see, so your goal is to fetch all "standalone accounts" for your organization in order to find this client's accounts?
Yes that would help me because I need to fetch raw transactions data for every account in org
If that its not possible then the client must provide and maintain manually a list of id's so we can fetch transactions
And that is very time consuming for us and for them π
I see, unfortunately I don't think it's possible π even if it were, it would give you all accounts not just the client's accounts. So you'd still need to know a list of IDs from the client, no?
No, our client is the org, we need to fetch all transactions across all accounts of his org
So we just want to avoid manually maintaining that list
I know in order to get transactions for an account we need to pass account id in stripe context, hoped we could get all account IDs from the list accounts endpoint
Oh, so you want all accounts in the Organization? Including platform and connected accounts, not just standalone accounts? I still don't think this is possible, but I'm trying to better understand your use case.
So the response for the client should be:
If they are certain that they don't use connect platform, then they need to provide us the list of all account id's in org or to provide an account api key per merchnat instead of org api key.
If they use connect platform, they need to provide us only the platform account ids and we can get merchant accounts using list accounts endpoint with platform account id in Stripe-Context header.
Well client is not sure. he either have 1 platform account per region, and merchants (restaurants) are connected trough that
Or merchants/partners have an stripe account that is linked in our client org.
I try to find out what is the situation for the past 3 days and the client is not able to give me a 100% certain response. I do not have access to stripe dashboard, only the api key he provided me and the answers i got from their contact.
If is this situation I can tell him that there is better to create 1 api key per account instead of org api key, because it's the same effort as finding account id per account.
He created an org api key in order to avoid to create 1 stripe integration in our platform per account
He wanted to create 1 integration for org and that it's why he provided us with org api key, and this is why we try to support it
Seems imposible, based on how the accounts api is designed RN
Yes, that response makes sense. And I do see multiple standalone accounts for that organization though I can't check them all.
Yea he did not tell us exact numbers but told me they are many, that's why he insisted on supporting org api key, but looks like it's the same effort from their side with org api key or with individual account api key, becaue i suppose there is no bulk way of getting a list with all accounts id from the dashboard, they need to manually access every account to get the account id
Is my assumption correct?
hi there, taking over for jazz as they had to step away. unfortunately yeah I don't think it's currently possible to list all accounts in an organization with the API. I wouldn't be surprised if this is being worked on, as Organizations are a pretty new feature, but I don't have any knowledge or a timeline as to when this might become available
Ok. wanted to be sure because I know organizations are pretty new and the stripe ai for docs told me it's possible altough you guys told me it is possible only for platform accounts in org
Well thank you very much.
yes, unfortunately like all LLMs, the AI is prone to hallucinations sometimes. if you like you can reach out to https://support.stripe.com/?contact=trueΒ to request this feature, as I agree it would be very useful
Please make a blog post or some announcement when/if you will support fetching all accounts from org, without stripe context, because it will allow as to dynamically fetch all data from org, instead of creating 1 api key per account or use org api key and manual mantain and update the list with connected account ids
ok i'k make a request!
I will also file this feedback through our internal channels
Thank you very much. This is first time we encounter this, we support both Oauth and account api key. The client generated and org api key and created an integration as it was an account api key and then I found out there is a 3rd stripe auth method π