---
title: "Pause subscription billing"
method: POST
path: "/api/billing/pause"
tags: ["billing", "internal"]
---

# Pause subscription billing

`POST /api/billing/pause`

Pauses billing for a 30/60/90 day window. Eligibility: rolling 6-month
cooldown anchored on the org's `last_paused_at`.

## Request body

- PauseSubscriptionRequest
  - `duration_days` 'days30' | 'days60' | 'days90', required — Pause subscription duration. The cancel modal's `RadioGroup` posts one of these enum variants verbatim — no integer parsing at the API boundary, the type is the contract.

## Response `200`

Subscription paused

- ApiResponseString
  - `data` string — The result payload. Omitted on failure.
  - `error` string, nullable — Human-readable failure message. Omitted on success.
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required — `true` when the request succeeded. `false` responses carry `error` instead of `data`.

## Other responses

- `400` — Ineligible or billing not enabled

## Changes

> 72 revisions in range; 66 could not be searched.

- **2026-04-20** `f04499e2280f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/billing/pause/post.md)

---

[API](https://skmtc.dev/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.dev/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/d061209476f3/schema)
