Premium

Lists the longer terms (13 or 52 weeks of the same tier) a running subscription can switch to now: what each charges now, how the paid days left are kept and how it continues every 4 weeks afterwards. An empty list comes with an unavailableReason.

Changed on
get/api/premium/subscription/{externalId}/terms

Request

  • Base URL
    https://sky.coflnet.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header GoogleToken

Path parameters

externalId, string required

External id of the subscription as listed by the subscription endpoint

Response

OK

SubscriptionTermOptionsResponse required

The longer terms a subscription can switch to now.

subscriptionId, string nullable

External id of the subscription.

currentWeeks, integer nullable

Length of the current term in weeks.

currentAccessEndsAt, string date-time nullable

When the access paid so far ends.

unavailableReason, string nullable

Why no term is offered, null when there are terms.

pending, SubscriptionTermSwitchResponse

Outcome of a switch to a longer term.

terms, SubscriptionTermOptionResponse[] nullable

The terms that can be switched to.

Changes