#mark_account-delete
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/1275857207136747622
đ 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.
- mark_best-practices, 4 days ago, 8 messages
You can delete them with the Accounts Delete API endpoint: https://docs.stripe.com/api/accounts/delete
I saw that but that says I can't delete because "Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts."
That's from the docs and leads me to believe I can't delete these "error accounts".
Here's the controller section from one of our accounts:
"controller": {
"fees": {
"payer": "account"
},
"is_controller": true,
"losses": {
"payments": "stripe"
},
"requirement_collection": "stripe",
"stripe_dashboard": {
"type": "full"
},
"type": "application"
},
Ah, okay. How many accounts need to be deleted?
About 10 or so.
I wonder can I just remove them in the portal and they just go away? I don't want my users to be prompted to complete the onboarding of the error accounts.
You should just be able to reject those accounts (https://docs.stripe.com/api/account/reject?lang=node) and just create new ones for them, no?
No, "Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero."
My accounts are standard and liable for their negative balance.
Got it. I read the last sentence with finality (we should update the verbiage there a bit). Anyway, you can either follow the instructions here for each account in the Dashboard: https://docs.stripe.com/connect/platform-controls-for-stripe-dashboard-accounts#:~:text=From the connected account details,the OAuth de-authorize endpoint.
Or you can revoke the account's access via the API here: https://docs.stripe.com/connect/oauth-reference#post-deauthorize
ANd just so you know these people never made it to the Stripe hosted signup onboarding screen.
Gotcha. Yeah, you should be good to just create new accounts for them
Some of them have already completed the onboarding process on a different Stripe Account.
The "Platform controls...." looks like it applies to OAuth accounts. None of these are via OAuth.
Sorry, the question is really vague and I'm trying to suss out what you're actually doing. So you're creating new Standard Connect accounts, then sending them an Account Link which they haven't used, and now you just want to delete the accounts. Am I understanding correctly? What does deleting the account accomplish here?
In my code I created a Stripe Account, and saving a record in our database with the account info, then inside of the same transaction used to create the Stripe Account, I attempted to create a Stripe Person for the admin. The creation of the Stripe Person threw an HTTP error, which then caused the transaction to roll back, which caused the database record on my side that stores the link to the Stripe Account to never be inserted into our database. This leaves an "orphaned" Stripe Account on Stripes side that I have no DB record linked to in my system. I've since fixed that so no exception can be raised inside the DB transaction, so that won't happen again. But I have about 10'ish accounts that were created in error. I'd like to clean those up, but because they are Standard Accounts that are responsible for their negative balances I can't remove them. BUT in the UI there is the ability to remove a connected account.
Have you actually tried removing the account via Dashboard?
In the Stripe Dashboard I can "remove" an account but it doesn't really say what that does.
I have not because I can't find any documentation on what that ACTUALLY does. I'm concerned that my users are going to be prompted by Stripe to complete those onboardings when if they did they are in no way linked to an account that exists in our system.
mark_account-delete
removing an account basically disconnects it from your platform entirely. Based on what you described it looks like the right approach overall as you're mostly cleaning up orphaned accounts you don't plan to use
Do you know if Stripe is going to prompt the end user to finish the onboarding for a "removed" account?
I don't think so since they never really onboarded but I'm not sure. You likely would have to ask our support team for confirmation: https://support.stripe.com/contact