---
title: "List dormancy configurations"
method: GET
path: "/corporate/v1/dormancy-config"
tags: ["Dormancy"]
---

# List dormancy configurations

`GET /corporate/v1/dormancy-config`

## Request

- Base URL: `https://sandbox.pismolabs.io`
- URL: `https://sandbox.pismolabs.io/corporate/v1/dormancy-config`
- Auth: HTTP bearer

Lists all dormancy configurations for an organization.

## Query parameters

- `cursor` string
- `limit` integer
- `targetType` 'DIVISION' | 'PROGRAM'

## Response `200`

OK

- ListDormancyConfigResponse
  - `dormancy-configs` object[]: List of dormancy configurations
    - `id` string, uuid: Dormancy configuration ID generated internally
    - `check_time` string, time: Dormancy check time<br> <b>Note</b>: The timezone is inherited from the customer's divisions or programs.
    - `target_type` 'DIVISION' | 'PROGRAM': Dormancy configuration target
    - `target_id` string: Target ID. When `target_type` is `DIVISION`, this value is the division code. Likewise, when `target_type` is `PROGRAM`, the value is the program ID, and so on.
    - `statuses` object[]: List of objects containing all the information pertinent to an organization's valid account status
      - `reactivation_with_last_restriction` boolean: Whether the account should be reactivated to `normal` with its last manual change restriction (`true`) or not (`false`).
      - `status` string: Account status<br> `minLength: 1` `maxLength: 200`
      - `days` integer: Days the account must be inactive before it is transitioned to the specified status.
      - `reason_id` integer: Account status reason ID<br> `minimum: 1`
      - `reason_external_id` string: External reason ID specifying account restrictions<br> `minimum: 1` `maximum: 120`
      - `restrictions` object[]: List of objects that contains the information related to account dormancy restrictions.<br> If there is a restriction in the list and the account's current reason is different from the value in `current_reason_id`, the dormancy configuration sets the reason to the value of the `reason_id` field. However, If the account's current reason is identical to the one in `current_reason_id`, the dormancy configuration sets the value to the `new_reason_id` field; in other words, the value in `new_reason_id` is the result of `reason_id` plus `current_reason_id`.
        - `current_reason_id` integer, required: The dormancy configuration checks whether the current account `reason_id` is the same as the current account reason. If they are different, the dormancy configuration sets the reason to the value in the `reason_id` field.
        - `new_reason_id` integer, required: This is the reason ID when the current account `reason_id` value is the same as `current_reason_id`.
        - `current_reason_external_id` string: The custom reason ID related to the `current_reason_id` specified in the dormancy restrictions. The dormancy configuration checks to see whether the current `reason_external_id` matches the one in the configuration. If yes, the new `reason_external_id` is the `new_reason_external_id`.
        - `new_reason_external_id` string: The custom reason ID related to the `new_reason_id` specified in the dormancy restrictions.
    - `dormant_processing_codes` ValidProcessingCode[]: List of processing codes that prevent account reactivation. If there are financial transactions in an account that were made with any of these codes, the account cannot be reactivated.
    - `dormancy_config_validity` DormancyConfigValidityWithEnd: The datetimes for dormancy configuration validity
      - `start` string: Date and time the dormancy configuration starts to be valid. Format = yyyy-mm-dd:hr:mm:ss.
      - `end` string: Date and time the dormancy configuration ceased to be valid. The field is omitted from the response if empty. Format = yyyy-mm-dd:hr:mm:ss.
    - `deny_forced_transaction_reactivation` boolean: Whether an account under that dormancy configuration should be reactivated when a forced transaction is made to that account (`true`) or not (`false`).
    - `check_timezone_origin` 'PROGRAM' | 'DIVISION': Specify whether the dormancy check uses the timezone of the account’s program or division. If not specified, the timezone of `target_id` is used.
    - `reactivation_exceptions_config` ReactivationExceptionsConfig: Specifies configuration rules that allow certain transactions to bypass dormancy reactivation based on defined transaction attributes and their corresponding values.
      - `field` string, required: Specifies which transaction attribute is checked in order to determine whether a transaction is exempt from reactivating a dormant account.
      - `values` ValidExceptionValue[], required: Lists the values that, when present in the specified field, prevent the account from being reactivated by that transaction.
  - `pagination` Pagination: Data related to list pagination using a cursor.
    - `limit` integer: Maximum number of items per page
    - `cursor` string: Cursor pointing to the next page of results

## Other responses

- `400`: Bad Request
- `401`: Access token is missing or invalid
- `403`: The request has been lost
- `404`: The specified resource was not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/pismo/apis/banking-transaction-banking.md) - [All operations](https://skmtc.dev/pismo/apis/banking-transaction-banking/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/banking-transaction-banking/revisions/1334306c9303?raw)
