---
title: "Preview (no body) or, with confirm: true, close the account and refund the unspent balance to the card that paid, less Stripe's fee"
method: POST
path: "/account/close"
---

# Preview (no body) or, with confirm: true, close the account and refund the unspent balance to the card that paid, less Stripe's fee

`POST /account/close`

## Request

- Base URL: `https://clearvoyance.ai/api/v1`
- URL: `https://clearvoyance.ai/api/v1/account/close`
- Auth: HTTP bearer

## Request body

- object
  - `confirm` boolean

## Response `200`

The preview or the result

- Ok
  - `ok` unknown, required

## Other responses

- `default`: A refusal or error: `code` is stable and `message` says what to do next

---

[API](https://skmtc.dev/clearvoyance/apis/clearvoyance-agent-api.md) · [All operations](https://skmtc.dev/clearvoyance/apis/clearvoyance-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clearvoyance/apis/clearvoyance-agent-api/revisions/98fa8d9aa58b?raw)
