---
title: "Keep a plan that was set to end"
method: POST
path: "/api/v1/billing/resume"
tags: ["Billing"]
---

# Keep a plan that was set to end

`POST /api/v1/billing/resume`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/billing/resume`
- Auth: API key in cookie `better-auth.session_token`

Takes back a cancellation set for the end of the period, so the plan renews as it is and no bank account is disconnected when the period ends. Never opens a second plan. Only an owner of the team, signed in on screen.

## Response `200`

The plan carries on.

- object
  - `ok` unknown, required
  - `data` object, required
    - `renewsAt` number, nullable, required: Seconds since the epoch: the day the plan renews, now that it carries on.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `403`: A caller who is not an owner of the team (`details.reason` `owner_only`), or one using an access token rather than a signed-in session (`on_screen`).
- `409`: No live plan to keep (`details.reason` `no_plan`), or one that is not set to end, which carries on as it is (`not_ending`).

---

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