Skip to main content

kobana finance banks

List banks

Commands of kobana finance banks. Every global option (Global options) applies here.

CommandHTTPDescription
banksGET /v1/banksList banks

banks​

List banks

kobana finance banks [OPTIONS]

GET /v1/banks

Returns a cursor-paginated page of the global bank catalog (COMPE/BACEN codes). Requires scope finance/banks with access level read. Tenant-less reference data — every token sees the same rows. Defaults to alphabetical sort by name.

Query parameters

NameTypeRequiredDescription
codestringnoFilter by exact COMPE/BACEN code (unique). Accepts [in]=001,237,341 for OR matching.
namestringnoFilter by exact institution name. Accepts [in]=... for OR matching.
sort_bystringnoField to order by. Default: sort_by=name&sort_order=asc. Values: code, name.
sort_orderstringnoOrder direction. Defaults to asc; ignored without sort_by. Values: asc, desc.
limitintegernoPage size. Default 25, max 100.
cursorstringnoOpaque cursor for the next page. Round-trip meta.next_cursor from the previous response.
fieldsstringnoComma-separated top-level fields to return, e.g. fields=description,amount,due_date. Omit for every field. id is always included; naming an object field returns it whole. An unknown name is a 400 whose details lists unknown and available.

Headers

NameTypeRequiredDescription
X-Workspace-IdstringyesWorkspace to act on, as a UUID. The token identifies the organization; this header picks which of its workspaces the request reads or writes. It is checked against the token's organization, so a workspace owned by anyone else answers UNKNOWN_WORKSPACE — the same code as one that does not exist. Omitting it answers WORKSPACE_REQUIRED (400).

Responses

HTTPDescription
200Page of banks plus pagination metadata.
400Malformed query (unknown filter / operator, invalid limit, bad cursor).