---
updatedAt: 2026-07-22T09:35:36.000Z
agentTools:
  projectIndex: https://docs.moneyhubenterprise.com/llms.txt
---

# Retrieve all pay-links created by an API client

Requires **pay_link:read** scope. Default limit is set to 10.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Swagger 2.0 docs for the authentication/authorization Moneyhub API",
    "title": "Moneyhub Identity Service",
    "version": "2.0.0"
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "paths": {
    "/pay-links": {
      "get": {
        "summary": "Retrieve all pay-links created by an API client",
        "description": "Requires **pay_link:read** scope. Default limit is set to 10.",
        "parameters": [
          {
            "description": "The total number of records to retrieve",
            "in": "query",
            "name": "limit",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            }
          },
          {
            "description": "The offset at which to start retrieving records",
            "in": "query",
            "name": "offset",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000000
            }
          },
          {
            "description": "The ID of the widget to filter pay-links on",
            "in": "query",
            "name": "widgetId",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "description": "The ID of the payee to filter pay-links on",
            "in": "query",
            "name": "payeeId",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "description": "Filter for active pay-links (not expired and unused if one-time use).",
            "in": "query",
            "name": "isActive",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful PayLink Response",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/PayLink"
                      },
                      "type": "array"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Unsuccessful Response - Forbidden - Invalid scopes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "tags": [
          "pay-links"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://identity.moneyhub.co.uk"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "PayLink": {
        "additionalProperties": false,
        "type": "object",
        "properties": {
          "id": {
            "description": "The id of the pay-link",
            "example": "c390a94f-2309-4cdf-8d02-b0c5304d9f66",
            "type": "string",
            "format": "uuid"
          },
          "clientId": {
            "description": "The id of the client",
            "example": "91d62867-a8a8-4146-8a5b-d4e61227db21",
            "type": "string",
            "format": "uuid"
          },
          "widgetId": {
            "description": "The id of the widget used to render the pay-link",
            "example": "91d62867-a8a8-4146-8a5b-d4e61227db21",
            "type": "string",
            "format": "uuid"
          },
          "payeeId": {
            "description": "The id of the payee",
            "example": "91d62867-a8a8-4146-8a5b-d4e61227db21",
            "type": "string",
            "format": "uuid"
          },
          "reference": {
            "description": "Reference to display on payer's statement",
            "type": "string",
            "example": "Payer ref",
            "minLength": 2,
            "maxLength": 18
          },
          "amount": {
            "description": "Payment amount in minor units of the currency, eg. pennies for GBP.",
            "type": "integer",
            "minimum": 1,
            "maximum": 25000000,
            "example": 1500
          },
          "endToEndId": {
            "description": "Unique identifier relevant to the transaction - Allowed characters (a-zA-Z0-9 :-).",
            "type": "string",
            "example": "Moneyhub-2024",
            "maxLength": 31,
            "nullable": true
          },
          "useOnce": {
            "description": "Boolean to indicate if the pay-link can only be consumed once.",
            "type": "boolean"
          },
          "usedAt": {
            "description": "The date the pay-link was last used",
            "example": "2021-02-01T11:08:45.574Z",
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "archivedAt": {
            "description": "The date the pay-link was archived",
            "example": "2021-02-01T11:08:45.574Z",
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "expiresAt": {
            "description": "The date the pay-link will expire",
            "example": "2021-02-01T11:08:45.574Z",
            "format": "date-time",
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "description": "The date that the pay-link was created.",
            "example": "2018-07-10T12:00:00+00:00",
            "format": "date-time",
            "type": "string"
          },
          "updatedAt": {
            "description": "The date that the pay-link was modified.",
            "example": "2018-08-10T12:00:00+00:00",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "clientId",
          "widgetId",
          "payeeId",
          "reference",
          "amount",
          "archivedAt",
          "endToEndId",
          "createdAt",
          "updatedAt"
        ]
      },
      "Error": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "The error code",
            "type": "string"
          },
          "message": {
            "description": "The error message",
            "type": "string"
          },
          "correlationId": {
            "description": "Id that identifies the request and can be used to ask for more details related to the error",
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      },
      "Meta": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          },
          "total": {
            "type": "integer",
            "minimum": 0
          }
        },
        "type": "object"
      }
    }
  }
}
```