When a Subscription or Customer is created in the Test or Live site, how do I delete it?
Out of interest, is it possible to access the "Clear the Sandbox Data" feature from the C# API? I am writing integration tests, however given that as time progresses the status of subscriptions ETC are affected it would be idea if the tests could build/populate the Subscriptions for the tests then clean up after themselves once the tests are complete. What is the best way for me to achieve this with ChargeBee?
If you want to delete subscriptions from your ChargeBee TEST site, you can always use the clear the sandbox data option. This can be done under Settings > Site Settings > Clear Sandbox Data in your ChargeBee admin console. You can clear all the data, just the subscription data or subscription data and all the product configurations.
We do not have the functionality to delete subscriptions via the user interface right now. In case you need subscriptions deleted from your ChargeBee LIVE site, send the subscription details to firstname.lastname@example.org and we will delete them from the back end.
Right now, we do not support clearing sandbox data via API. Sorry about that! You could delete them through the admin console in just one click. Here's more on this. We will surely update you if we plan to release the API version in the future.