POST
/
subscriptions
/
{subscriptionId}
/
cancel
/
curl --request POST \
  --url https://api.paritydeals.com/api/v1/subscriptions/{subscriptionId}/cancel/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cancellationType": "IMMEDIATE",
  "cancellationDate": "2025-12-31"
}'
{
  "message": "Subscription cancellation processed successfully."
}

Authorizations

Authorization
string
header
required

The Server API Key obtained from the ParityDeals application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

subscriptionId
string
required

The unique identifier of the subscription to be cancelled. Example UUID from docs: 78058918-9746-4280-9b9b-1bd5115eec6e

Body

application/json

Response

200 - application/json

Subscription cancellation processed successfully.

The response is of type object.