Create Account Endpoint
const url = 'https://example.com/api/v1/accounts';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"name":"example","short_name":"example","account_type":"checking","currency":"EUR","institution":"example","institution_id":1,"notes":"example","is_liability":false,"on_budget":true,"exclude_from_net_worth":false,"liquidity_horizon":"immediate","opened_at":"2026-04-15","loan_interest_rate":1,"loan_monthly_payment":1,"linked_account_id":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/accounts \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "short_name": "example", "account_type": "checking", "currency": "EUR", "institution": "example", "institution_id": 1, "notes": "example", "is_liability": false, "on_budget": true, "exclude_from_net_worth": false, "liquidity_horizon": "immediate", "opened_at": "2026-04-15", "loan_interest_rate": 1, "loan_monthly_payment": 1, "linked_account_id": 1 }'Create a new account for the current user.
Request Bodyrequired
Section titled “Request Bodyrequired”Schema for account creation — accepts any ISO 4217 currency code.
object
Account type enum — descriptive only in v1.
Does not change aggregation behavior.
Liquidity classification for accounts — availability of funds.
Used for liquidity analysis and emergency fund calculations. Defaults to ‘semi_liquid’ as a safe middle ground.
Responses
Section titled “Responses”Successful Response
Schema for account response — ORM serialization via from_attributes.
object
Account type enum — descriptive only in v1.
Does not change aggregation behavior.
Liquidity classification for accounts — availability of funds.
Used for liquidity analysis and emergency fund calculations. Defaults to ‘semi_liquid’ as a safe middle ground.
How to read a CSV file; every column is optional until the mapping is complete.
object
Example
{ "account_type": "checking", "liquidity_horizon": "immediate", "csv_import_mapping": { "delimiter": ",", "encoding": "utf-8", "skip_rows": 0, "has_header": true, "date_format": "DD/MM/YYYY", "amount_mode": "signed", "number_format": "1,234.56", "flip_sign": false }}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}