#tomfree-delete-test-data
1 messages ยท Page 1 of 1 (latest)
Hi ๐ no, there is not currently pre-built functionality for cascading delete requests to other associated objects. Are there particular types of objects that you'd also like to delete/archive when deleting a Customer?
It's also worth noting that making a request to delete a Customer object causes it to not be returned in list requests, but it can still be retrieved by its ID:
https://stripe.com/docs/api/customers/delete#:~:text=Unlike other objects%2C deleted customers can still be retrieved through the API%2C in order to be able to track the history of customers while still removing their credit card details and preventing any further operations to be performed (such as adding a new subscription).
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
wanna delete subscriptions. subscriptionbscheduels, paymentmethods, invoices, setupintents, mandates... those kind of things
Those type of objects cannot be deleted.