#joe-connect-bankaccount
1 messages · Page 1 of 1 (latest)
It's not possible for a connected account to delete their only bank account, it just errors
interesting. so if a connected account has only 1 account and i attempt the call below, it would not work?
const deleted = await stripe.customers.deleteSource(
'cus_MOwwQQFfpUjIPm',
'ba_1Lg92ZGR0hudtWsCjp47rmFA'
);
your code is about a Customer and not an Account. Customers are people paying for a service. Accounts represents the entities you're accepting funds on behalf of
oops
good catch
stripe.accounts.create is the account i am creatine
*creating
this is associated with a connected account
ok, i was looking at the wrong documentation. thanks koopajah! have a great weekend!!!
so yeah just to confirm in that case you can't delete the last bank account it would error