Manage Subscription

You can cancel or activate your subscription

Subscription Details

FieldData typeRequiredDescription
actionenumYescancel or activate

Make a PATCH request to our subscriptions endpoint.

Note : Before making a post request, the secret key should be specified in the header.

-H "x-api-key: your_secret_key".
{{host}}/v1/subscriptions

Path Parameters

FieldData typeDescription
subscriptionIdOrCodestring.The subscription ID or code you want to manage.

You can make API calls using this sample request. once all parameters are meet you would also get the response below;

{
	"action": "cancel"
}
{
	"status": true,
	"code": 200,
	"message": "Success",
	"data": {}
}