---
title: "Get transactions"
method: GET
path: "/transactions"
---

# Get transactions

`GET /transactions`

## Query parameters

- `provider` 'teller' | 'plaid' | 'gocardless', required
- `accountId` string, required — Get transactions by accountId
- `accountType` 'credit' | 'depository', required — Get transactions with the correct amount depending on credit or depository
- `accessToken` string — Used for Teller and Plaid
- `latest` 'true' | 'false' — Get latest transactions

## Response `200`

Retrieve transactions

- TransactionsSchema
  - `data` TransactionSchema[], required
    - `id` string, required
    - `description` string, nullable, required
    - `method` string, nullable, required
    - `amount` number, required
    - `name` string, required
    - `date` string, required
    - `currency` string, required
    - `status` 'pending' | 'posted', required
    - `category` string, nullable, required
    - `balance` number, nullable, required

## Other responses

- `400` — Returns an error

## Changes

- **2024-07-27** `e4dc1c3626a1` — 1 breaking, 3 info
  - the `query` request parameter `latest` was restricted to a list of enum values
  - added the new enum value `false` to the `query` request parameter `latest`
  - added the new enum value `true` to the `query` request parameter `latest`
  - for the `query` request parameter `latest`, the type/format was generalized from `boolean`/`` to `string`/``
- **2024-07-23** `1515e7c2644a` — 1 breaking, 1 warning
  - the `code` response's property type/format changed from `number`/`` to `string`/`` for status `400`
  - removed the optional property `details` from the response with the `400` status
- **2024-07-23** `85b4f43c2bb3` — 2 info
  - added the optional property `details` to the response with the `400` status
  - added the required property `requestId` to the response with the `400` status
- **2024-07-05** `b620765f2663` — 3 breaking
  - the `query` request parameter `accountId` became required
  - for the `query` request parameter `latest`, the type/format was changed from `string`/`` to `boolean`/``
  - removed the required property `data/items/internal_id` from the response with the `200` status

[Change history](https://skmtc.dev/midday-ai/apis/midday-engine-api/changes/transactions/get.md)

---

[API](https://skmtc.dev/midday-ai/apis/midday-engine-api.md) · [All operations](https://skmtc.dev/midday-ai/apis/midday-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/midday-ai/midday-engine-api/revisions/bf3c1ab4d60d/schema)
