Documentation

Cancel & Reactivate

Cancel an app subscription and optionally reactivate it before the billing period ends.

Cancel a subscription to stop auto-renewal, or reactivate it before the current period ends.

Prerequisites: An active subscription for the app.

Cancel

curl -X POST https://api.orbitkit.io/api/apps/$APP_ID/cancel-subscription \
  -H "Authorization: Bearer $TOKEN"
var request = URLRequest(url: URL(string: "https://api.orbitkit.io/api/apps/\(appId)/cancel-subscription")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
const res = await fetch(
  `https://api.orbitkit.io/api/apps/${appId}/cancel-subscription`,
  {
    method: "POST",
    headers: { Authorization: `Bearer ${token}` },
  }
);

The site stays active until currentPeriodEnd. After that, it shows a placeholder page.

Reactivate (before period ends)

curl -X POST https://api.orbitkit.io/api/apps/$APP_ID/reactivate-subscription \
  -H "Authorization: Bearer $TOKEN"
var request = URLRequest(url: URL(string: "https://api.orbitkit.io/api/apps/\(appId)/reactivate-subscription")!)
request.httpMethod = "POST"
request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")

let (data, _) = try await URLSession.shared.data(for: request)
const res = await fetch(
  `https://api.orbitkit.io/api/apps/${appId}/reactivate-subscription`,
  {
    method: "POST",
    headers: { Authorization: `Bearer ${token}` },
  }
);

Important details

  • Cancellation is immediate but the site stays live until the paid period ends
  • Once the period ends, the site shows a placeholder and stops serving your privacy policy
  • You can reactivate at any time before the period ends — no additional charge
  • After the period ends, you’ll need to create a new subscription
  • See the Subscriptions & Billing endpoint reference for full details