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

# Retrieve a single payment file consent

`GET /pay-file-consent/{id}`

Requires **pay_file_consent:read** scope.

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful Pay File Consent response

- object
  - `data` PayFileConsent
    - `id` string, uuid, required — The id of the pay file consent
    - `status` 'Authorised' | 'AwaitingAuthorisation' | 'AwaitingUpload' | 'Rejected' | 'Consumed'
    - `createdAt` string, date-time, required — The date that the pay file consent was created
    - `payFileConsents` object, required
      - `fileReference` string — The name or description given to the recurring payment
      - `numberOfTransactions` integer — The number of transactions within the file
      - `controlSum` string — The total amount of the transactions within the file
  - `meta` object

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes
- `404` — Unsuccessful Response - Resource 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)
