---
title: "Retrieve all payments created by an API client"
method: GET
path: "/payments"
tags: ["payments"]
---

# Retrieve all payments created by an API client

`GET /payments`

Requires **payment:read** scope.

## Query parameters

- `limit` integer
- `offset` integer
- `userId` string
- `payeeId` string, uuid
- `startDate` string, date
- `endDate` string, date

## Response `200`

Successful Payment Response

- object
  - `data` Payment[]
    - `id` string, uuid, required — The id of the payment
    - `bankId` string — The id of the bank
    - `amount` integer, required — Payment amount in minor units of the currency, eg. pennies for GBP.
    - `payeeId` string, uuid, required — Payee id
    - `payeeType` 'api-payee' | 'mh-user-account', required — Type of payee
    - `payerId` string — Payer Id
    - `payerRef` string, required — Reference to display on payer's statement
    - `payerType` 'mh-user-account' | 'api-payer' — Payer Type
    - `payerName` string — Payer name
    - `payerEmail` string, email — Payer email
    - `currency` string, required — Currency code
    - `isReversible` boolean, required — Determines if payment is refundable
    - `status` 'inProgress' | 'pending' | 'completed' | 'cancelled' | 'rejected' | 'abandoned' | 'error:paymentSubmission' | 'error:redirect' | 'error:tokenGrant', required — The status of the payment
    - `providerStatus` string — The status of the payment
    - `reversedPaymentId` string, uuid — The ID of the payment that was reversed by this payment
    - `paymentSubmissionId` string — Original payment submission id from financial institution
    - `charges` object[], required — List of payment charges
      - `bearer` 'BorneByCreditor' | 'BorneByDebtor' | 'FollowingServiceLevel' | 'Shared' — Specifies which party/parties will bear the charges associated with the processing of the payment transaction.
      - `type` 'CHAPSOut' | 'BalanceTransferOut' | 'MoneyTransferOut' — Charge type, in a coded form.
      - `amount` integer — Charge amount in minor units of the currency, eg. pennies for GBP.
      - `currency` string — Currency code
    - `initiatedAt` string, date-time, required — The date that the payment was initiated
    - `finalisedAt` string, date-time — The date that the payment was finalised
    - `statusUpdateDateTime` string, date-time — The date that the payment status was last updated
    - `expectedSettlementDateTime` string, date-time — The date that the settlement of the payment is expected
    - `endToEndId` string — Unique identifier relevant to the transaction - Allowed characters (a-zA-Z0-9 :-).
    - `payFileConsent` object
      - `id` string, required — The id of the pay file consent
      - `fileHash` string, required — Hash of the payment file
      - `fileType` string, required — Type of the payment file
      - `numberOfTransactions` string, required — The number of transactions within the file
      - `controlSum` number, required — The total amount of the transactions within the file
      - `fileReference` string, required — Reference or name of the payment file
  - `meta` Meta
    - `limit` integer
    - `offset` integer
    - `total` integer

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes

---

[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)
