---
title: "Renews a 13 or 52 week subscription for another term instead of continuing every 4 weeks. Stripe extends immediately, PayPal returns an approval url the buyer has to be redirected to."
method: POST
path: "/api/premium/subscription/{externalId}/extend"
tags: ["Premium"]
---

# Renews a 13 or 52 week subscription for another term instead of continuing every 4 weeks. Stripe extends immediately, PayPal returns an approval url the buyer has to be redirected to.

`POST /api/premium/subscription/{externalId}/extend`

## Request

- Base URL: `https://sky.coflnet.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sky.coflnet.com/api/premium/subscription/{externalId}/extend`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `GoogleToken`

## Path parameters

- `externalId` string, required

## Request body

- SubscriptionDeclarationArgs: The user's early performance declaration for a subscription checkout. Same fields as the declaration of Coflnet.Sky.Api.Models.PurchaseArgs; the legal texts are filled in by the server.
  - `immediatePerformanceRequested` boolean, nullable: Whether the user expressly requested early performance for this order.
  - `withdrawalConsequenceAcknowledged` boolean, nullable: Whether the user acknowledged the consequence of complete performance.
  - `declarationVersion` string, nullable: Hash-verified declaration version shown to the user.
  - `legalLocale` string, nullable: Locale in which the declaration was shown.
  - `declarationRequestId` string, nullable: Idempotency identifier (a GUID) for this declaration and order.

## Response `200`

OK

- SubscriptionExtensionResponse: Result of renewing a subscription for another term.
  - `extended` boolean, required: True when the term was extended immediately (Stripe).
  - `approvalUrl` string, nullable: Url to redirect the buyer to for approval (PayPal), null when already extended.
  - `termEndsAt` string, date-time, required: When the current term ends.
  - `extendedUntil` string, date-time, required: Until when the subscription is paid after the extension.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `428`: Precondition Required
- `503`: Service Unavailable

## Changes

- **2026-11-20** `197ab68e5b1d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coflnet/apis/skyapi/changes/api/premium/subscription/:externalId/extend/post.md)

---

[API](https://skmtc.dev/coflnet/apis/skyapi.md) - [All operations](https://skmtc.dev/coflnet/apis/skyapi/llms.txt) - [OpenAPI document](https://skmtc.dev/coflnet/apis/skyapi/revisions/c787372dc7a2?raw)
