Manage Subscription
You can cancel or activate your subscription
Subscription Details
Field | Data type | Required | Description |
---|---|---|---|
action | enum | Yes | cancel 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
Field | Data type | Description |
---|---|---|
subscriptionIdOrCode | string. | 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": {}
}
Updated 3 months ago