get /v1/connections/{id}/bank-accounts
The accounts a linked bank shared, with the bank's balances and what each is mapped to
scope connections:read · listConnectionBankAccounts
Parameters
id path · string · required
budget_id query · string
Returns · 200
{ bank_accounts: [{ id, connection_id, institution, name, mask, type, subtype, currency, balance_current_cents, balance_available_cents, limit_cents, balance_at, mapping, account_id, loan_id, sync_from, auto_land, staged_count }] }. A new link arrives with every account mapping: unmapped: nothing from it reaches the budget until the person says what each one is (PUT /v1/bank-accounts/{id}). balance_current_cents is the bank's own figure as the bank signs it; a card or loan's is what is owed. staged_count is how many rows wait for review; a row the bank only sent again is not counted, since sync makes it the row held by itself. Ask the human which account is which; never map on a guess.
Example
Errors · besides 401, 429, 500
- 403
forbidden: The key is valid but lacks the scope this call needs. Ask the human to mint a key with the scope named in the message. - 404
not_found: No such record on this budget. Re-read GET /v1/budgets/{id} (or the relevant list) for current ids rather than reusing a remembered one.