#umaritis_code
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/1480502298575900772
๐ 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.
- umaritis_code, 4 minutes ago, 15 messages
Hey there,
For each of our users, we store both the Stripe Connect Account ID and the Customer ID. We want to programmatically check whether payouts for a connected account are enabled, disabled, or paused.
Is there an API we can use to retrieve the payout status of a connected account?
Also, if we need to check this for many users, would we need to call the API separately for each Connect Account ID, or is there a way to send a list of account IDs and retrieve their payout statuses in bulk?
If separate API calls are required for each account, should we be concerned about rate limiting when checking a large number of accounts?
๐ Yes, you can check if payouts are enabled on a connected account with the /v1/accounts/:id API: https://docs.stripe.com/api/accounts/retrieve Check this param: https://docs.stripe.com/api/accounts/object#account_object-payouts_enabled
There's no way to retrieve a specific set of accounts in bulk, but you can use the GET /v1/accounts endpoint to list all your accounts, and then filter on the client side: https://docs.stripe.com/api/accounts/list
With regard to rate limts, you can see info on this at https://docs.stripe.com/rate-limits and mange your requests accordingly