#Predrag-connect
1 messages · Page 1 of 1 (latest)
@noble bridge do you have the ID acct_xxx of the deleted account?
off the top of my head I'm not sure, I thought we don't let you delete if it has a balance, but maybe we add their balance to your platform as an adjustment instead; seeing an example would help me
acct_1JSe1eQjvlRa0G0U here it is.
ah ok yeah
in test mode we let you delete the account at any time (https://stripe.com/docs/api/accounts/delete), in livemode though you would have got an error that you can't delete it without reducing their balance to 0 first
they should be the same but unfortunately this is some legacy cruft in the API that is unlikely to get changed
Okay, thank you very much 😁
in live mode you get a 400 with the error
For an account created with your live-mode key, you cannot delete the account
when the balance in any currency is non-zero. Currencies with non-zero
balances: {currencies}
``` basically