curl --request POST \
--url https://api.kelviq.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."
}Cancels an active subscription for a customer.
curl --request POST \
--url https://api.kelviq.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."
}The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'
The unique identifier of the subscription to be cancelled. Example UUID from docs: 78058918-9746-4280-9b9b-1bd5115eec6e
Subscription cancellation processed successfully.
"Subscription cancellation processed successfully."