How to delete test payments in shopify using Api?

393 views Asked by At

I have created an app and setup billing API. During testing I have created test payments and now I want to delete that payments. During deletion, I am getting this error

Unprocessable Entity.

I am using bellow API to delete test payments "https://help.shopify.com/api/reference/recurringapplicationcharge#destroy". Please let me know how to delete test payments.

Thanks

1

There are 1 answers

7
Josh Brown On

The API does not provide a way to delete recurring app charges. You can cancel a charge, but only if the status of the charge is active.