Skip to main content
POST
All merchants can pause an eligible active subscription managed by Clink. An empty body or {} pauses it immediately. To schedule a pause, send a future pauseAt in Unix milliseconds. A time at or before the current time takes effect immediately. Submitting a new pause request replaces any pending pause plan, including its reason and automatic resume time. For example, build this request body to pause tomorrow and resume one week later:
Omit resumeAt for manual resumption. While the pause is pending, the response has status: "active" and pause.pauseAt. Once it takes effect, the status is paused and the response includes pause.pausedAt and pause.remainingSeconds.

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
pauseAt
integer<int64> | null

Time to pause in Unix milliseconds. A future time schedules the pause. Omit, send null, or supply a time at or before now to pause immediately.

Example:

1798761600000

resumeAt
integer<int64> | null

Automatic resume time in Unix milliseconds, later than both now and the pause time and within the allowed scheduling window. Omit or send null for manual resumption.

Example:

1799366400000

reason
string | null

Optional reason for pausing.

Maximum string length: 255

Response

Updated subscription on success. Check the business code in the response.

code
integer<int32>

Clink business result code. A value of 200 indicates success.

msg
string

Human-readable result message describing the outcome of the request.

data
object

Subscription details after the operation, including the current status and billing period.