Skip to main content
POST
Create a manual account

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
account_category
enum<string>
required

The kind of manual account: LOAN (modelled from its terms) or BANK (a checking, savings or card account filled from statement files).

Available options:
LOAN,
BANK
name
string
required

Name of the account as the user wants to see it.

Maximum string length: 100
currency
string
required

ISO 4217 currency code.

Required string length: 3
Pattern: ^[A-Za-z]{3}$
cash_account_type
enum<string> | null

BANK only: CACC (checking), SVGS (savings) or CARD (card).

Available options:
CACC,
SVGS,
CARD,
null
institution_name
string | null

The lender, as the user wants it shown ("Lånekassen"). Groups manual accounts in the dashboard; blank clears it.

Maximum string length: 100
balance
number | null

Today's balance as the bank shows it. LOAN: the amount owed, entered positive and stored negative. BANK: signed (a card's debt is negative), or null when unknown until the first import or checkpoint.

Required range: x >= 0
balance_date
string<date-time> | null

The date that balance was true. Defaults to today; never in the future. Needs a balance.

loan
object

The loan terms. Required for a LOAN account, not accepted on a BANK account.

Response

message
string
required
Allowed value: "Manual account created."
data
FinancialAccountResource · object
required