---
title: "Close an account"
method: POST
path: "/v1/customer-credits/accounts/{id}/close"
tags: ["Customer Credits - Accounts (Experimental)"]
---

# Close an account

`POST /v1/customer-credits/accounts/{id}/close`

Permanently close an account. This action cannot be undone.

## Path parameters

- `id` string, required

## Response `200`

Account closed

- AccountResponseDto
  - `id` string, required — Account ID
  - `store_id` string, required — Store ID
  - `customer_id` string, required — Owner ID
  - `name` string, required — Account name
  - `unit_label` string, required — Unit label
  - `status` 'active' | 'frozen' | 'closed', required — Account status
  - `created_at` string, required — Creation timestamp
  - `updated_at` string, required — Last update timestamp

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing API key
- `404` — Not Found - Resource does not exist
- `409` — Account already closed

---

[API](https://skmtc.net/creem/apis/creem-api.md) · [All operations](https://skmtc.net/creem/apis/creem-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/creem/creem-api/versions/aa593160d96c/schema)
