---
title: "Get transaction summary by hour"
method: GET
path: "/v1/report/transactions-by-hour"
tags: ["Reports"]
---

# Get transaction summary by hour

`GET /v1/report/transactions-by-hour`

## Request

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

## Query parameters

- `from_date` string, required
- `to_date` string, required

## Response `200`

OK

- TimeseriesReportSlice[]
  - `all_payments` integer
  - `amount` integer
  - `completed_payments` integer
  - `errored_payments` integer
  - `fee` integer
  - `net_amount` integer
  - `timestamp` string, date-time
  - `total_amount` integer

## Other responses

- `400`: Missing required query parameters
- `500`: 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 `500`
  - 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 `500`
  - …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 `500`
- **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 `500`
- …earlier changes not shown

[Operation history](https://skmtc.dev/government-digital-service/apis/ledger-api/changes/v1/report/transactions-by-hour/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)
