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), BANK (a checking, savings or card account filled from statement files) or INVESTMENT (positions the user enters, priced daily).

Available options:
LOAN,
BANK,
INVESTMENT
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. INVESTMENT: the uninvested cash at the end of balance_date, zero when omitted; rows dated on or before that day are already reflected in it, later rows move it.

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 the others.

investment
object | null

INVESTMENT only: how the account tracks cash and which bank account funds it. Not accepted on the others.

Response

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