---
title: "Close an account."
method: POST
path: "/closeAccount"
---

# Close an account.

`POST /closeAccount`

Closes an account. If an account is closed, you cannot process transactions, pay out its funds, or reopen it. If payments are made to a closed account, the payments will be directed to your liable account.

## Request body

- CloseAccountRequest
  - `accountCode` string, required — The code of account to be closed.

## Response `200`

OK - the request has succeeded.

- CloseAccountResponse
  - `pspReference` string — The reference of a request. Can be used to uniquely identify the request.
  - `resultCode` string — The result code.
  - `status` 'Active' | 'Closed' | 'Inactive' | 'Suspended', required — The new status of the account. >Permitted values: `Active`, `Inactive`, `Suspended`, `Closed`.
  - `submittedAsync` boolean — Indicates whether the request is processed asynchronously. Depending on the request's platform settings, the following scenarios may be applied: * **true**: The request is queued and will be executed when the providing service is available in the order in which the requests are received. * **false**: The processing of the request is immediately attempted; it may result in an error if the providing service is unavailable.

## Other responses

- `400` — Bad Request - a problem reading or understanding the request.
- `401` — Unauthorized - authentication required.
- `403` — Forbidden - insufficient permissions to process the request.
- `422` — Unprocessable Entity - a request validation error.
- `500` — Internal Server Error - the server could not process the request.

## Changes

- **2021-03-05** (v3) `b04b573249e2` — 5 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `422`
  - …1 more
- **2020-08-05** (v3) `2e73ca0384b4` — 2 breaking, 1 info
  - the response property `pspReference` became optional for the status `200`
  - the response property `submittedAsync` became optional for the status `200`
  - api operation id `post-closeAccount` was added
- **2020-03-04** (v3) `e778c70d4393` — 8 breaking, 7 info
  - the request's body type changed from `object` to no type
  - the response's body type changed from `object` to no type for status `200`
  - removed the media type `application/json` for the response with the status `400`
  - removed the media type `application/json` for the response with the status `401`
  - …11 more

[Change history](https://skmtc.dev/adyen/apis/accountservice/changes/closeAccount/post.md)

---

[API](https://skmtc.dev/adyen/apis/accountservice.md) · [All operations](https://skmtc.dev/adyen/apis/accountservice/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adyen/accountservice/revisions/451ffbde20dc/schema)
