---
title: "Get account balance history config by ID v2"
method: GET
path: "/bank-statements/v2/account-balances/history/config/{balanceHistoryConfigId}"
tags: ["Bank statements"]
---

# Get account balance history config by ID v2

`GET /bank-statements/v2/account-balances/history/config/{balanceHistoryConfigId}`

## Request

- Base URL: `https://sandbox.pismolabs.io/passport`
- URL: `https://sandbox.pismolabs.io/passport/bank-statements/v2/account-balances/history/config/{balanceHistoryConfigId}`
- Auth: none declared

Get the current account balance history configuration by ID.

Also returns previous configurations if you pass the query parameter `showPrevious` set to `true`.

## Path parameters

- `balanceHistoryConfigId` string, uuid, required

## Query parameters

- `showPrevious` boolean

## Response `200`

OK

- GetAccountBalanceHistoryConfigurationResponseV2: Get account balance history configuration response object
  - `id` string, uuid, required: Balance history configuration ID
  - `target_type` 'ORGANIZATION' | 'PROGRAM' | 'DIVISION', required: The target type of the balance history configuration, based on the hierarchical level it applies to.
  - `target_id` string, required: Target ID (`org_id`, `program_id`, or `division_id`)
  - `cycle_closing_time` string, time, required: Cycle closing time indicates what time of day the cycle closes for a division, organization, or program. This time uses the timezone configured for the corresponding division, organization, or program.
  - `cycle_event_delay` integer, required: The cycle event delay specifies how many minutes after `cycle_closing_time` the account balance history event is issued for each account in the division.
  - `cycle_config_validity` CycleConfigValidity, required: The start and end date/time indicating when the cycle configuration becomes valid or invalid.
    - `start` string, datetime: The date and time when the configuration becomes valid. Format = `yyyy-mm-dd:hr:mm:ss`.
    - `end` string, datetime: The date and time when the configuration ends. Format = `yyyy-mm-dd:hr:mm:ss`.

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) - [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-authentication/revisions/935b62e16de4?raw)
