---
title: "Cancel the subscription"
method: POST
path: "/api/v1/billing/subscription/cancel"
tags: ["billing"]
---

# Cancel the subscription

`POST /api/v1/billing/subscription/cancel`

## Request

- Base URL: `https://api.sytecheck.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sytecheck.app/api/v1/billing/subscription/cancel`
- Auth: HTTP bearer

Cancel the subscription at the end of the current billing period. Access
continues until then, and scan history is kept for a grace period afterwards
rather than being deleted immediately.

## Response `200`

Successful Response

- SubscriptionResponse: The caller's billing state, for the account billing page.
  - `tier` string, required
  - `plan_name` string, required
  - `status` string, nullable
  - `subscription_tier` string, nullable
  - `billing_period` 'monthly' | 'annual', nullable
  - `current_period_end` string, date-time, nullable
  - `cancel_at_period_end` boolean
  - `scan_credits` integer
  - `withdrawal_available_until` string, date-time, nullable
  - `retention_grace_until` string, date-time, nullable
  - `billing_enabled` boolean
  - `plans` PlanOption[]
    - `tier` 'free' | 'pro' | 'agency', required
    - `name` string, required
    - `monthly_price_usd` string, required
    - `annual_price_usd` string, required
    - `monthly_scans` integer, required
    - `pdf_export` boolean, required
    - `public_api` boolean, required
    - `webhooks` boolean, required
    - `retention_days` integer, required
    - `concurrent_scans` integer, required

---

[API](https://skmtc.dev/sytecheck/apis/sytecheck-api.md) · [All operations](https://skmtc.dev/sytecheck/apis/sytecheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sytecheck/apis/sytecheck-api/revisions/797cf6b3e867?raw)
