GOV.UK Pay · Schema

PaymentSearchResults

PaymentsGovernmentUKPublic SectorRESTPCI DSSRefundsRecurring PaymentsWebhooks

Properties

Name Type Description
_links object
count integer Number of payments on the current page of search results.
page integer The [page of results you’re viewing](https://docs.payments.service.gov.uk/api_reference/#pagination). To view other pages, make this request again using the `page` parameter.
results array Contains payments matching your search criteria.
total integer Total number of payments matching your search criteria.
View JSON Schema on GitHub

JSON Schema

PaymentSearchResults.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/api-evangelist/gov-uk-pay/blob/main/json-schema/PaymentSearchResults.json",
  "title": "PaymentSearchResults",
  "type": "object",
  "properties": {
    "_links": {
      "$ref": "#/components/schemas/SearchNavigationLinks"
    },
    "count": {
      "type": "integer",
      "format": "int32",
      "description": "Number of payments on the current page of search results.",
      "example": 20
    },
    "page": {
      "type": "integer",
      "format": "int32",
      "description": "The [page of results you\u2019re viewing](https://docs.payments.service.gov.uk/api_reference/#pagination). To view other pages, make this request again using the `page` parameter.",
      "example": 1
    },
    "results": {
      "type": "array",
      "description": "Contains payments matching your search criteria.",
      "items": {
        "$ref": "#/components/schemas/PaymentDetailForSearch"
      }
    },
    "total": {
      "type": "integer",
      "format": "int32",
      "description": "Total number of payments matching your search criteria.",
      "example": 100
    }
  }
}