---
title: "Get transaction summary for query params"
method: GET
path: "/v1/report/transactions-summary"
tags: ["Reports"]
---

# Get transaction summary for query params

`GET /v1/report/transactions-summary`

## Request

- Base URL: `http://ledger_url`
- URL: `http://ledger_url/v1/report/transactions-summary`
- Auth: none declared

## Query parameters

- `account_id` string
- `include_moto_statistics` boolean
- `from_date` string
- `to_date` string
- `override_account_id_restriction` boolean
- `override_from_date_validation` boolean

## Response `200`

OK

- TransactionSummaryResult
  - `moto_payments` TransactionsStatisticsResult
    - `count` integer
    - `gross_amount` integer
  - `net_income` integer
  - `payments` TransactionsStatisticsResult
    - `count` integer
    - `gross_amount` integer
  - `refunds` TransactionsStatisticsResult
    - `count` integer
    - `gross_amount` integer

## Other responses

- `400`: Missing required query parameter (from_date)
- `422`: Missing required or invalid query parameters (from_date or to_date)

## Changes

- **2026-10-05** `450e568b5b08`: 4 warning, 2 info
  - added the new `AMOUNT_BELOW_MINIMUM_FOR_ADYEN` enum value to the `error_identifier` response property for the response status `400`
  - added the new `AMOUNT_BELOW_MINIMUM_FOR_ADYEN` enum value to the `error_identifier` response property for the response status `422`
  - added the new `AMOUNT_BELOW_MINIMUM_FOR_STRIPE` enum value to the `error_identifier` response property for the response status `400`
  - added the new `AMOUNT_BELOW_MINIMUM_FOR_STRIPE` enum value to the `error_identifier` response property for the response status `422`
  - …2 more
- **2025-01-16** `ef12d134c115`: 2 warning
  - added the new `AMOUNT_BELOW_MINIMUM` enum value to the `error_identifier` response property for the response status `400`
  - added the new `AMOUNT_BELOW_MINIMUM` enum value to the `error_identifier` response property for the response status `422`
- **2024-11-25** `6a7b3b19bd40`: 2 warning
  - added the new `NON_HTTPS_RETURN_URL_NOT_ALLOWED_FOR_A_LIVE_ACCOUNT` enum value to the `error_identifier` response property for the response status `400`
  - added the new `NON_HTTPS_RETURN_URL_NOT_ALLOWED_FOR_A_LIVE_ACCOUNT` enum value to the `error_identifier` response property for the response status `422`
- …earlier changes not shown

[Operation history](https://skmtc.dev/government-digital-service/apis/ledger-api/changes/v1/report/transactions-summary/get.md)

---

[API](https://skmtc.dev/government-digital-service/apis/ledger-api.md) - [All operations](https://skmtc.dev/government-digital-service/apis/ledger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/government-digital-service/apis/ledger-api/revisions/450e568b5b08?raw)
