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

# POST /companies/{companySlug}/bankAccounts

`POST /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`

Creates a new bank account. The Location response header returns the URL of the newly created bank account.
Possible types of bank accounts are NORMAL, TAX_DEDUCTION, FOREIGN, and CREDIT_CARD. The field "foreignService" should only be filled out for accounts of type FOREIGN.

## Request body

- BankAccountRequest
  - `name` string, required
  - `bankAccountNumber` string, required
  - `bic` string
  - `iban` string
  - `foreignService` string
  - `type` 'normal' | 'tax_deduction' | 'foreign' | 'credit_card', required
  - `inactive` boolean

## Response `201`

Created

## Changes

- **2021-12-08** `4813e5666340`: 1 info
  - the endpoint scheme security `fiken_api_oauth` was removed from the API

[Operation history](https://skmtc.dev/fiken/apis/fiken-api/changes/companies/:companySlug/bankAccounts/post.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)
