latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-11432547.0 KB

8f9d543f352b

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"
}