跳转到主要内容
POST
Resume Subscription
无需请求体。恢复后,订阅从 paused 变为 active,自动恢复计划和 pause 对象随之清除。使用响应中的 currentPeriodEnd 更新账期末。例如,暂停时还剩 4 天,恢复后从实际恢复时刻起继续使用这 4 天。 恢复时不出账、不扣款,收到 subscription.resumed 即可恢复权益。订阅当前未暂停时返回 90100259。

授权

X-API-KEY
string
header
必填

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

请求头

X-Timestamp
string
必填

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

示例:

"1783513683000"

路径参数

id
string
必填

Unique identifier of the subscription

响应

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.