Cancel Subscriptions
The PayHere Subscription Manager API allows you to cancel a subscription.
Endpoint
DELETE /payhere/api/subscriptions/:id/cancel
Required Parameter
id: Thepayhere_subscription_idfor the subscription.
Response
This response is copied from the official PayHere knowledge base.
{ "status": 1, "msg": "Successfully cancelled the subscription", "data": null}