Skip to main content
POST
Freeze, resume, or cancel a subscription

Authorizations

Authorization
string
header
required

Partner API Key passed in the Authorization header: Authorization: Bearer ak_live_... (or ak_test_... for Cloud Sandbox, ak_local_... for Local Direct).

Headers

Idempotency-Key
string<uuid>

Unique UUID recommended on all mutating calls to safely retry after network timeouts.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
facilityId
string
required

Unique external facility identifier within your partner scope.

Example:

"MY-KL-001"

subscriptionId
string
required
action
enum<string>
required
Available options:
FREEZE,
UNFREEZE,
CANCEL
effectiveAt
string<date-time>

ISO 8601 timestamp with explicit timezone offset or Z UTC suffix.

Example:

"2026-11-27T12:00:00+08:00"

reason
string
operator
string

Response

Subscription status updated.

subscription
object
required