GOV.UK Pay · Schema

PaymentRefundRequest

The Payment Refund Request Payload

PaymentsGovernmentUKPublic SectorRESTPCI DSSRefundsRecurring PaymentsWebhook

Properties

Name Type Description
amount integer The amount you want to [refund to your user](https://docs.payments.service.gov.uk/refunding_payments/) in pence.
refund_amount_available integer Amount in pence. Total amount still available before issuing the refund
View JSON Schema on GitHub

JSON Schema

PaymentRefundRequest.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/api-evangelist/gov-uk-pay/blob/main/json-schema/PaymentRefundRequest.json",
  "title": "PaymentRefundRequest",
  "type": "object",
  "description": "The Payment Refund Request Payload",
  "properties": {
    "amount": {
      "type": "integer",
      "format": "int32",
      "description": "The amount you want to [refund to your user](https://docs.payments.service.gov.uk/refunding_payments/) in pence.",
      "example": 150000,
      "maximum": 10000000,
      "minimum": 1
    },
    "refund_amount_available": {
      "type": "integer",
      "format": "int32",
      "description": "Amount in pence. Total amount still available before issuing the refund",
      "example": 200000,
      "maximum": 10000000,
      "minimum": 1
    }
  },
  "required": [
    "amount"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/PaymentRefundRequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.