BankSync icon

BankSync

Interact with the BankSync API

Actions28

Transaction → List

AI-generated

Summary

List transactions for a specified account, optionally filtering by date range and fetching all pages

Inputs

  • bankId (required) — The bank the account belongs to
  • accountId (required) — The account to list transactions for
  • returnAll — Whether to return all results or only a single page
  • additionalFields — Additional filter fields such as date range or pagination cursor

Output shape

a list of transaction objects

If returnAll is false only the first page is returned; date range can be set via additionalFields.from and .to; pagination cursor can be provided via additionalFields.cursor

Examples

Example 1: List all transactions for an account within a date range

bankId=abc123, accountId=acc123, additionalFields={from:'2024-01-01',to:'2024-12-31'}, returnAll=true

Example 2: Retrieve only the first page of results without extra filters

bankId=abc123, accountId=acc123, returnAll=false

Example 3: Fetch the next page of results using a pagination cursor

bankId=abc123, accountId=acc123, additionalFields={cursor:'nextPageToken'}, returnAll=false

Links

Discussion