getAll
Retrieve all bank accounts for the authenticated user.Parameters
No parameters required.Response
Returns an array of bank account objects.Bank account ID
Account name
Account type:
CHECKING, CREDIT, INVESTMENT, or SAVINGSCurrent account balance
Currency code (e.g., “USD”, “EUR”)
Creation timestamp
Last update timestamp
create
Create a new bank account.Parameters
Account name
Account type:
CHECKING, CREDIT, INVESTMENT, or SAVINGSInitial account balance (defaults to “0”)
Currency code (e.g., “USD”, “EUR”, “GBP”)
Response
Created bank account ID
Account name
Account type
Account balance
Currency code
Creation timestamp
Last update timestamp
update
Update an existing bank account.Parameters
Bank account ID to update
Updated account name
Updated account type:
CHECKING, CREDIT, INVESTMENT, or SAVINGSUpdated account balance
The currency field cannot be updated after creation.
Response
Returns the updated bank account object.delete
Delete a bank account.Parameters
Bank account ID to delete
Response
Returns the deleted bank account object.TypeScript Types
Constraints
- Account name, type, and user combination must be unique
- Account name cannot be empty
- Balance defaults to “0” if not provided
- Currency defaults to “USD” if not provided