Skip to main content
POST

Authorizations

X-API-KEY
string
header
required

Your secret API key obtained from the Clink dashboard (Developers section)

Headers

X-Timestamp
string
required

Current timestamp in milliseconds since Unix epoch (required for request signing)

Example:

"1783513683000"

Path Parameters

id
string
required

Unique identifier of the subscription

Body

application/json

Cancel subscription request

reason
string
required
Required string length: 1 - 255
cancelReasonCode
enum<string>

Allowed cancel reason codes

Available options:
too_expensive,
need_more_features,
found_alternative,
no_longer_needed,
poor_customer_service,
poor_usability,
poor_quality,
other_reasons
cancelImmediately
boolean
default:false

Whether to cancel the subscription immediately. true cancels immediately without refund; false or omitted cancels at the end of the current billing period.

Response

updated subscription

code
integer<int32>
msg
string
data
object