How to cancel a subscription or purchase made by user in the TestFlight?

Is there any way to cancel a subscription or purchase made by user in the TestFlight? Didn't find anything regarding it in the documentation.