---
title: "List transactions"
method: GET
path: "/cases/{case_id}/bank-accounts/{account_id}/transactions"
tags: ["Transactions"]
---

# List transactions

`GET /cases/{case_id}/bank-accounts/{account_id}/transactions`

## Request

- Base URL: `https://api.example.com/v1`
- URL: `https://api.example.com/v1/cases/{case_id}/bank-accounts/{account_id}/transactions`
- Auth: none declared

List transactions for a bank account with date range and category filters.

## Query parameters

- `page` integer
- `per_page` integer
- `date_from` string, date
- `date_to` string, date
- `type` 'credit' | 'debit' | 'transfer_in' | 'transfer_out' | 'interest' | 'fee' | 'dividend' | 'check' | 'ach' | 'wire' | 'atm' | 'pos' | 'adjustment' | 'estate_distribution'
- `category` 'income' | 'bills' | 'insurance_premium' | 'medical' | 'taxes' | 'estate_expense' | 'legal_fee' | 'funeral_expense' | 'beneficiary_distribution' | 'other'
- `min_amount` number, double
- `max_amount` number, double
- `is_flagged` boolean
- `is_recurring` boolean
- `sort_by` 'date' | 'amount' | 'created_at'
- `sort_order` 'asc' | 'desc'

## Response `200`

List of transactions.

- object
  - `data` Transaction[]
    - `id` string
    - `date` string, date
    - `posted_date` string, date, nullable
    - `effective_date` string, date, nullable
    - `type` 'credit' | 'debit' | 'transfer_in' | 'transfer_out' | 'interest' | 'fee' | 'dividend' | 'check' | 'ach' | 'wire' | 'atm' | 'pos' | 'adjustment' | 'estate_distribution'
    - `amount` number, double
    - `running_balance` number, double, nullable
    - `description` string
    - `merchant_name` string, nullable
    - `reference_number` string, nullable
    - `check_number` string, nullable
    - `category` 'income' | 'bills' | 'insurance_premium' | 'medical' | 'taxes' | 'estate_expense' | 'legal_fee' | 'funeral_expense' | 'beneficiary_distribution' | 'other'
    - `is_recurring` boolean
    - `is_flagged` boolean
    - `flag_reason` 'suspicious' | 'needs_review' | 'disputed' | 'estate_related' | 'null', nullable
    - `notes` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `meta` PaginationMeta
    - `page` integer
    - `per_page` integer
    - `total_count` integer
    - `total_pages` integer
    - `next_cursor` string, nullable: Opaque cursor for fetching the next page. Pass as the `cursor` query parameter. Null when on the last page.
    - `has_more` boolean: Whether more results exist beyond this page.

## Other responses

- `404`: Resource not found.

---

[API](https://skmtc.dev/hellosunset/apis/sunset-api.md) - [All operations](https://skmtc.dev/hellosunset/apis/sunset-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hellosunset/apis/sunset-api/revisions/f128e5526efe?raw)
