Barclays · Schema

PrescreenOffersRequest

Prescreen a customer against an existing offer

BankingCredit CardsFAPIFinanceOpen BankingOpen DataPSD2PaymentsUK BankingVariable Recurring Payments

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

barclays-prescreen-offers-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/barclays/main/json-schema/barclays-prescreen-offers-request-schema.json",
  "title": "PrescreenOffersRequest",
  "description": "Prescreen a customer against an existing offer",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/barclays-applyproductexternalapi-oas-api-openapi.yml#/components/schemas/PrescreenOffersRequest",
  "type": "object",
  "additionalProperties": false,
  "deprecated": false,
  "properties": {
    "data": {
      "$ref": "#/$defs/PrescreenOffersRequestAttributes"
    }
  },
  "required": [
    "data"
  ],
  "nullable": false,
  "$defs": {
    "Address": {
      "type": "object",
      "additionalProperties": false,
      "deprecated": false,
      "description": "Permanent address Info",
      "properties": {
        "zip": {
          "type": "string",
          "description": "Applicant’s Address Zip",
          "maxLength": 9,
          "minLength": 5,
          "pattern": "^[0-9]{5,9}$"
        },
        "state": {
          "$ref": "#/$defs/StateEnums"
        },
        "city": {
          "type": "string",
          "description": "Applicant's City",
          "maxLength": 32,
          "minLength": 1,
          "pattern": "^(?!\\s)[a-zA-Z'\\s]{1,32}(?<!\\s)$"
        },
        "addressLine1": {
          "type": "string",
          "description": "Applicant's Address line 1",
          "maxLength": 32,
          "minLength": 2,
          "pattern": "^[\\-\\w#&/`.,\\s]{2,32}$"
        },
        "addressLine2": {
          "type": "string",
          "description": "Applicant's Address line 2",
          "maxLength": 32,
          "minLength": 0,
          "pattern": "^[\\-\\w#&/`.,\\s]{0,32}$"
        }
      },
      "required": [
        "addressLine1",
        "city",
        "state",
        "zip"
      ]
    },
    "NameValueAttributePair": {
      "type": "object",
      "additionalProperties": false,
      "deprecated": false,
      "description": "Name value attributes",
      "properties": {
        "name": {
          "type": "string",
          "description": "name of key in <Key,Value> pair",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9_]{1,100}$"
        },
        "value": {
          "type": "string",
          "description": "value of key in <Key,Value> pair",
          "maxLength": 200,
          "minLength": 1,
          "pattern": "^[\\w\\!\\@\\#\\$\\&\\*\\(\\)\\+\\=\\'\\\"\\.\\,\\s\\/\\-]{1,200}$"
        }
      },
      "required": [
        "name",
        "value"
      ],
      "nullable": false
    },
    "PrescreenOffersRequestAttributes": {
      "type": "object",
      "additionalProperties": false,
      "deprecated": false,
      "description": "Prescreen a customer against an existing offer",
      "properties": {
        "offerIds": {
          "type": "array",
          "description": "List of Offer Id against which customer needs to be pre-screened",
          "items": {
            "type": "string",
            "maxLength": 36,
            "minLength": 36,
            "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
          },
          "maxItems": 100,
          "minItems": 1
        },
        "firstName": {
          "type": "string",
          "description": "Applicant's First name",
          "maxLength": 32,
          "minLength": 2,
          "pattern": "^[\\-a-zA-Z'\\s]{2,32}$"
        },
        "lastName": {
          "type": "string",
          "description": "Applicant's Last Name",
          "maxLength": 32,
          "minLength": 2,
          "pattern": "^[\\-a-zA-Z'\\s]{2,32}$"
        },
        "primaryPhoneNumber": {
          "type": "string",
          "description": "Applicant's Phone Number",
          "maxLength": 10,
          "minLength": 10,
          "pattern": "^[0-9]{10,10}$"
        },
        "emailAddress": {
          "type": "string",
          "description": "Applicant's Email Address",
          "maxLength": 80,
          "minLength": 5,
          "pattern": "^(?=.{5,80}$)^((?![\\-\\_\\.])(?!.*[\\-\\_\\.]{2})(?!.*[\\-\\_\\.]$)[\\-\\w\\.]{1,})\\@(([a-zA-Z0-9\\.\\-]{1,}(\\.[a-zA-Z0-9]{1,4})))$"
        },
        "address": {
          "$ref": "#/$defs/Address"
        },
        "prescreenAttributes": {
          "type": "array",
          "description": "Attributes specific to product/partner, if configured to receive during the partner on boarding.",
          "items": {
            "$ref": "#/$defs/NameValueAttributePair"
          },
          "maxItems": 100,
          "minItems": 0
        }
      },
      "required": [
        "firstName",
        "lastName",
        "offerIds"
      ],
      "nullable": false
    },
    "StateEnums": {
      "type": "string",
      "description": "Applicant's State",
      "enum": [
        "AL",
        "AK",
        "AA",
        "AE",
        "AP",
        "AZ",
        "AR",
        "CA",
        "CO",
        "CT",
        "DE",
        "DC",
        "FL",
        "GA",
        "HI",
        "ID",
        "IL",
        "IN",
        "IA",
        "KS",
        "KY",
        "LA",
        "ME",
        "MD",
        "MA",
        "MI",
        "MN",
        "MS",
        "MO",
        "MT",
        "NE",
        "NV",
        "NH",
        "NJ",
        "NM",
        "NY",
        "NC",
        "ND",
        "OH",
        "OK",
        "OR",
        "PA",
        "PR",
        "RI",
        "SC",
        "SD",
        "TN",
        "TX",
        "UT",
        "VT",
        "VA",
        "VI",
        "WA",
        "WV",
        "WI",
        "WY"
      ]
    }
  }
}

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/barclays-prescreen-offers-request"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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