GOV.UK Pay · Schema

Address

A structure representing the billing address of a card

PaymentsGovernmentUKPublic SectorRESTPCI DSSRefundsRecurring PaymentsWebhook

Properties

Name Type Description
city string The paying user's city.
country string The paying user’s country, displayed as a 2-character ISO-3166-1-alpha-2 code.
line1 string The first line of the paying user’s address.
line2 string The second line of the paying user’s address.
postcode string The paying user's postcode.
View JSON Schema on GitHub

JSON Schema

Address.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://github.com/api-evangelist/gov-uk-pay/blob/main/json-schema/Address.json",
  "title": "Address",
  "type": "object",
  "description": "A structure representing the billing address of a card",
  "properties": {
    "city": {
      "type": "string",
      "description": "The paying user's city.",
      "example": "address city",
      "maxLength": 255,
      "minLength": 0
    },
    "country": {
      "type": "string",
      "description": "The paying user\u2019s country, displayed as a 2-character ISO-3166-1-alpha-2 code.",
      "example": "GB"
    },
    "line1": {
      "type": "string",
      "description": "The first line of the paying user\u2019s address.",
      "example": "address line 1",
      "maxLength": 255,
      "minLength": 0
    },
    "line2": {
      "type": "string",
      "description": "The second line of the paying user\u2019s address.",
      "example": "address line 2",
      "maxLength": 255,
      "minLength": 0
    },
    "postcode": {
      "type": "string",
      "description": "The paying user's postcode.",
      "example": "AB1 2CD",
      "maxLength": 25,
      "minLength": 0
    }
  }
}

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/Address"
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.