---
title: "Close account cycle"
method: POST
path: "/v1/accounts/{accountId}/statement-close"
tags: ["Close account cycle"]
---

# Close account cycle

`POST /v1/accounts/{accountId}/statement-close`

Close cycle for a specific account.

## Path parameters

- `accountId` integer, required

## Headers

- `x-tenant` string, required
- `x-cid` string

## Request body

- CycleClosingRequest
  - `tracking_id` string, required — Customer created tracking ID. Must consist of alphanumeric characters (a-z, A-Z, 0-9), hyphens (-), and colons (:), with a length from 1 to 128. The Pismo platform uses this field to implement idempotency and prevent duplicates.

## Response `200`

OK

- CycleClosingResponseDto
  - `cycle_closing_request_id` integer — ID generated for the request by the Pismo platform
  - `account_id` integer — Account ID
  - `current_statement_id` integer — ID of current statement
  - `tracking_id` string — Customer created tracking ID. Must consist of alphanumeric characters (a-z, A-Z, 0-9), hyphens (-), and colons (:), with a length from 1 to 128. The Pismo platform uses this field to implement idempotency and prevent duplicates.
  - `created_at` string, date-time — Datetime program calendar strategy was created. Format = YYYY-MM-DDTHH:MM:SS:MM.
  - `status` 'PENDING' | 'CYCLE_CLOSING_REQUESTED' | 'ERROR' — Online cycle closing status. Possible values are [`PENDING`, `CYCLE_CLOSING_REQUESTED`, `ERROR`].

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/versions/935b62e16de4/schema)
