#Hedoneck
1 messages · Page 1 of 1 (latest)
Hello, the one way that immediately comes to mind is that you may be able to unrequest their payment capabilities. https://stripe.com/docs/api/accounts/update#update_account-capabilities-card_payments
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Otherwise you may have to loop through their list of active subscriptions and cancel them via the API https://stripe.com/docs/api/subscriptions/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I would assume that closing an account would stop the subscriptions but have not been able to find a doc or test this. Have you closed an account in test mode to test this?
Right, I'll have a look at these. I would assume that when closing an account you'd lose access immediately and future payments would be stopped as all data would be deleted... But I'll give it a go with a test account, good idea.
@faint bridge I just tested on some of my own test accounts. Unrequesting the capabilities does not cancel active subscriptions as far as I can tell. Deleting the account does cancel subscriptions but if you want to keep the transaction history I don't think you want to do that. I think cycling through and deleting each subscription would be the way to do it unforutnately