Returns: List bank accounts. Allowed roles: per role/scope; scope: banka:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: banka:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Account number is validated (mod 97). Basic plan: at most one bank account per organization → 402 limit_paketa (code dostignut_limit_bankovnih_racuna).
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: banka:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Idempotency-Key
header
yes
string
Required on every POST. Response cached 24 h (KV); same key + different body → 409 ponovljen_kljuc_idempotentnosti. Response includes Idempotent-Replayed: true on replay. Exceptions (optional key): /v1/nalog/*, /v1/nalog/pristupni-kljucevi/*, /v1/ja/sesije/opozovi-ostale, public /plati/*.
Request body
Field
Type
Required
Description
broj_racuna
string
yes
Prihvata i format sa crticama; normalizuje se na 18 cifara
Archive; 409 if the bank account is linked to open proformas.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: banka:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Returns: Get bank accounts. Allowed roles: per role/scope; scope: banka:citanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: banka:citanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).
Partially updates: Update bank accounts. Allowed roles: per role/scope; scope: banka:pisanje.
Authentication and scopes
Session (HttpOnly cookie)
OAuth2: banka:pisanje
API key (Authorization: Bearer upl_live_…)
Parameters
Name
In
Required
Type
Description
X-Organizacija-Id
header
no
string (uuid)
Active organization. Required for user OIDC tokens with multiple orgs; for API key/client credentials the org is in the credential (header must match or be omitted).