bank accounts

GET /companies/{companySlug}/bankAccounts

Changed on

Retrieves all bank accounts associated with the company.

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

Query parameters

pageinteger

Returns the number of the page to return. Valid page values are integers from 0 to the total number of pages. Default value is 0.

pageSizeinteger

Defines the number of entries to return on each page. Maximum number of results that can be returned at one time are 100. Default value is 25.

inactiveboolean

Return all active bank accounts (false) or all inactive bank accounts (true).

Response

OK

bankAccountIdinteger
namestring
accountCodestring
bankAccountNumberstring
ibanstring
bicstring
foreignServicestring
type'normal' | 'tax_deduction' | 'foreign' | 'credit_card'
reconciledBalanceinteger

Amounts are always represented as a number, and specifies the number of cents in the amount. Fractions will be ignored. ie. 10050 = 100.50

reconciledDatestring date
inactiveboolean

Example response

[
  {
    "bankAccountId": 2747365,
    "name": "Utgiftskonto DNB",
    "accountCode": "1920:10007",
    "bankAccountNumber": "15035646830",
    "type": "normal",
    "reconciledBalance": 10050,
    "reconciledDate": "2018-04-03"
  }
]

Changes

    • info

      added the new optional query request parameter inactive

    • info

      added the optional property / to the response with the status

    • info

      the endpoint scheme security fiken_api_oauth was removed from the API

    • info

      added the optional property / to the response with the status