---
title: "Index accounts for a business"
method: GET
path: "/v1/businesses/{business_id}/accounts"
tags: ["Business accounts"]
---

# Index accounts for a business

`GET /v1/businesses/{business_id}/accounts`

Returns an array containing all accounts owned by the business specified in the request URL.

## Path parameters

- `business_id` string, required

## Query parameters

- `page[number]` string
- `page[size]` string
- `filter[iban]` string

## Response `200`

The operation was successful.

- SolarisServerDecoratorsAccountWithoutBalance[]
  - `id` string — ID of the account.
  - `iban` string — IBAN associated with the account.
  - `bic` string — BIC associated with the account.
  - `type` 'CHECKING_PERSONAL' | 'CHECKING_BUSINESS' — Type of the account.
  - `purpose` string — purpose of account
  - `currency` string — currency of account
  - `opened_at` string — Date and time when the account was opened (UTC format).
  - `locking_status` 'NO_BLOCK' | 'CREDIT_BLOCK' | 'DEBIT_BLOCK' | 'BLOCK' — Read-only booking block indicating whether funds can be transferred to/from the account. The default status is `NO_BLOCK`. Other status values indicate that funds may neither be credited to, nor debited from, the account. Only authorized Solaris employees can change the status of this value. Attempting to perform an action not compliant with the current blocking status (e.g., initiating a transaction to or from a blocked account) will cause either a return of the transaction or an exception.
  - `locking_reasons` string[] — Read-only indicator of the reason a block was applied to the account. If the account is not blocked, then this value will contain an empty array.
  - `account_limit` object — The allowed amount of negative balance on the account. This is included into the calculation of the `available_balance`.
    - `value` integer
    - `unit` string
    - `currency` string
  - `person_id` string — ID of the person for whom the account was created.
  - `business_id` string — ID of the business for whom the account was created. Only filled if the account owner is a legal entity.
  - `overdraft` Overdraft
    - `rate` number
    - `limit` integer

## Other responses

- `400` — An error occurred on the client side.
- `404` — The resource could not be found.
- `500` — Internal server error.
- `default` — Unexpected error

---

[API](https://skmtc.net/solarisgroup/apis/account-management.md) · [All operations](https://skmtc.net/solarisgroup/apis/account-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/account-management/revisions/099ef636a5a1/schema)
