v62

latestOpenAPI 3.1.0Dual (AGPL3.0, Commercial License Available)raw.githubusercontent.com2026-08-03211303932.5 KB
billing
internal

Pause subscription billing

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

post/api/billing/pause

Request body

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

Subscription paused

datastring

The result payload. Omitted on failure.

errorstring nullable

Human-readable failure message. Omitted on success.

successboolean required

true when the request succeeded. false responses carry error instead of data.

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.7"
  }
}