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.
Changed onRequest
- Base URLhttps://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
External id of the subscription as listed by the subscription endpoint
Request body
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.
Whether the user expressly requested early performance for this order.
Whether the user acknowledged the consequence of complete performance.
Hash-verified declaration version shown to the user.
Locale in which the declaration was shown.
Idempotency identifier (a GUID) for this declaration and order.
Response
OK
Result of renewing a subscription for another term.
True when the term was extended immediately (Stripe).
Url to redirect the buyer to for approval (PayPal), null when already extended.
When the current term ends.
Until when the subscription is paid after the extension.
Changes
- info
endpoint added
- info