cURL
curl --request POST \ --url https://uat-api.clinkbill.com/api/subscription/{id}/cancel \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --header 'X-Timestamp: <api-key>' \ --data ' { "reason": "<string>", "cancelReasonCode": "too_expensive" } '
{ "code": 123, "msg": "<string>" }
cancel subscription at period end
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Unique identifier of the subscription
cancel request
1 - 255
Allowed cancel reason codes
too_expensive
need_more_features
found_alternative
no_longer_needed
poor_customer_service
poor_usability
poor_quality
other_reasons
updated subscription
Show child attributes