I'm familiar with the process of clearing test data via the dashboard in Stripe (as per the image).
For testing purposes, I would like to clear the test data as part of the tear down process of our unit tests - to have a clean state at the end of each test cycle.
The API documentation doesn't mention anything, so is there an undocumented way to clear the test data?
Just a note, in the new dashboard, test data deletion lives on the Developers tab:
No, it isn't possible to clean all test data via the API -- only via the dashboard. Sorry!
In the Dashboard, the option now lives at the bottom of the Developers page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With