Source controllers:
bank-account.controller.ts and bank-account-feed.controller.tsBase path
All Bank Account routes are prefixed under::entityId and :bankAccountId are UUIDs.
Authentication
Use a session cookie or passx-api-key: $SINTROPIX_API_KEY. Mutations with an API key also require x-audit-actor: my-agent. See Authentication.
Bank Account kinds
A Bank Account has one of two kinds, validated at creation against the mapped Ledger Account’s type:List bank accounts
BankAccountWithSummary.
Response schema
BankAccountWithSummary extends BankAccount with these fields:
The
feed object, when present, contains:
Example
Create a bank account
CreateBankAccountSchema.
Body parameters
Response
Returns201 Created with a BankAccountWithSummary object.
Status codes
Example
Update a bank account
name is editable through this endpoint.
Body parameters
Response
Returns200 OK with a BankAccount object (without summary fields).
Status codes
Example
Delete a bank account
Response
Returns200 OK with a DeleteBankAccountResult:
Status codes
Example
Delete a bank account feed
Response
Returns200 OK with a BankAccount object (feed is now null).
Status codes
Example
Sync a bank account feed
Response
Returns201 Created with a BankAccountFeedSyncResult: