# Get accounts for a client.

Endpoint: GET /api/v1/clients/{clientId}/accounts
Version: 1

## Path parameters:

  - `clientId` (string, required)

## Query parameters:

  - `includeDisabledAccounts` (boolean)
    Indicate if the response should include accounts that is not active in the erp system.

## Response 200:

  - `200` (unknown)
    Returns an array of account dto.

## Response 200 fields (application/json):

  - `accountId` (string, required)
    Account ID

  - `accountNumber` (string, required)
    Account number

  - `currency` (string)
    Currency

  - `clientId` (string, required)
    Client ID

  - `description` (string)
    Description

  - `bankAccountNumber` (string)
    Bank account number

  - `isSyncTransactionEnabled` (boolean)
    Is enabled for transaction sync

  - `isActiveInErp` (boolean)
    Indicates if the account is active in the ERP system

## Response 400:

  - `400` (unknown)
    Bad request.

## Response 401:

  - `401` (unknown)
    Unauthorized.

