---
title: "Retrieve a previously uploaded payment file"
method: GET
path: "/pay-file/{id}"
tags: ["pay-file"]
---

# Retrieve a previously uploaded payment file

`GET /pay-file/{id}`

Retrieves a previously uploaded payment file by ID. Requires **pay_file:read** scope.

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful Pay File Retrieval. The response is a multipart/form-data containing the following parts: id, fileHash, transactionCount, controlSum, createdAt, expiredAt, fileByteSize, providerId, and file.

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes
- `404` — Unsuccessful Response - Pay file not found

---

[API](https://skmtc.net/moneyhubenterprise/apis/moneyhub-identity-service.md) · [All operations](https://skmtc.net/moneyhubenterprise/apis/moneyhub-identity-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moneyhubenterprise/moneyhub-identity-service/revisions/8841721f7aae/schema)
