---
title: "GET /companies/{companySlug}/bankAccounts"
method: GET
path: "/companies/{companySlug}/bankAccounts"
tags: ["bank accounts"]
---

# GET /companies/{companySlug}/bankAccounts

`GET /companies/{companySlug}/bankAccounts`

## Request

- Base URL: `https://api.fiken.no/api/v2`
- URL: `https://api.fiken.no/api/v2/companies/{companySlug}/bankAccounts`
- Auth: OAuth 2
  - Authorization code: `https://fiken.no/oauth/authorize`
  - Token URL: `https://fiken.no/oauth/token`

Retrieves all bank accounts associated with the company.

## Query parameters

- `page` integer
- `pageSize` integer
- `inactive` boolean

## Response `200`

OK

- BankAccountResult[]
  - `bankAccountId` integer
  - `name` string
  - `accountCode` string
  - `bankAccountNumber` string
  - `iban` string
  - `bic` string
  - `foreignService` string
  - `type` 'normal' | 'tax_deduction' | 'foreign' | 'credit_card'
  - `reconciledBalance` integer: Amounts are always represented as a number, and specifies the number of cents in the amount. Fractions will be ignored. ie. 10050 = 100.50
  - `reconciledDate` string, date
  - `inactive` boolean

## Changes

- **2023-05-26** `e093a0c9db87`: 2 info
  - added the new optional `query` request parameter `inactive`
  - added the optional property `items/inactive` to the response with the `200` status
- **2021-12-08** `4813e5666340`: 2 info
  - the endpoint scheme security `fiken_api_oauth` was removed from the API
  - added the optional property `items/bankAccountId` to the response with the `200` status

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/bankAccounts/get.md)

---

[API](https://skmtc.dev/fiken/apis/fiken-api.md) - [All operations](https://skmtc.dev/fiken/apis/fiken-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fiken/apis/fiken-api/revisions/29111da67f94?raw)
