---
title: "Download a Report"
method: GET
path: "/payments/{transaction-id}/report/{report-id}"
tags: ["XS2A.pay"]
---

# Download a Report

`GET /payments/{transaction-id}/report/{report-id}`

## Request

- Base URL: `https://api.xs2a.com/v1`
- URL: `https://api.xs2a.com/v1/payments/{transaction-id}/report/{report-id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/xs2a/apis/xs2a-api/docs/payments/:transaction-id/report/:report-id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `transaction-id` string, required
- `report-id` string, required

## Query parameters

- `format` 'html' | 'pdf' | 'json'
- `locale` 'de' | 'en'

## Response `200`

Request successfully processed

## Other responses

- `401`: Authentication failed API key missing or not valid
- `403`: Forbidden Access blocked
- `404`: Product not enabled or Not found The requested object does not exist on the server
- `410`: The object has been deleted intentionally
- `422`: Validation failed Something is wrong with the user input
- `500`: An internal server problem occurred

---

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