Cancel your subscription at the end of the current period

Session-only account operation. Send no body or an empty JSON object; account identity and cancellation timing cannot be overridden. Repeated calls are safe. Stripe webhooks update billing state and queue the existing confirmation email. Store subscriptions must be canceled through Apple or Google. API keys and MCP OAuth are not accepted.

post/api/account/subscription/cancel

Request

  • Base URL: https://api.peelaway.io
  • URL: https://api.peelaway.io/api/account/subscription/cancel
  • Auth: API key in cookie better-auth.session_token

Response

Cancellation scheduled or subscription already ended

provider'stripe' required
status'cancellation_scheduled' | 'already_ended' required
endsAtstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.