v52

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-03432547.1 KB
Services

Get details about the acceptance of GOV.UK Pay terms

Retrieves the user's email address and timestamp that the GOV.UK Pay terms were accepted on for the service.

get/v1/api/services/{serviceExternalId}/govuk-pay-agreement

Path parameters

serviceExternalIdstring required

Response

OK

agreement_timestring date-time
emailstring

Example response

{
  "agreement_time": "2022-04-10T16:23:35.684Z",
  "email": "someone@somedepartment.gov.uk"
}