Xero · Schema

NewAccountFeedConnectionsRequest

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
items array Between 1 and 50 Feed Connections to create. No element may be null.
View JSON Schema on GitHub

JSON Schema

xero-new-account-feed-connections-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xero/main/json-schema/xero-new-account-feed-connections-request-schema.json",
  "title": "NewAccountFeedConnectionsRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xero-bank-feeds-v2-api-openapi.yml#/components/schemas/NewAccountFeedConnectionsRequest",
  "type": "object",
  "required": [
    "items"
  ],
  "properties": {
    "items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "description": "Between 1 and 50 Feed Connections to create. No element may be null.",
      "items": {
        "$ref": "#/$defs/NewAccountFeedConnection"
      }
    }
  },
  "$defs": {
    "AccountType": {
      "type": "string",
      "description": "The high-level type of the account. `BANK` covers every account type other than a credit card.\n",
      "enum": [
        "BANK",
        "CREDITCARD"
      ]
    },
    "NewAccountFeedConnection": {
      "type": "object",
      "required": [
        "accountToken",
        "accountType",
        "accountNumber",
        "accountName",
        "currency"
      ],
      "properties": {
        "accountToken": {
          "type": "string",
          "maxLength": 50,
          "description": "The financial institute's identifier for the account. Must be unique within your\nfinancial institute.\n"
        },
        "accountType": {
          "$ref": "#/$defs/AccountType"
        },
        "accountNumber": {
          "type": "string",
          "maxLength": 40,
          "description": "The account number for the Xero Bank Account being created. Up to 40 characters when\n`accountType` is `BANK`. When `accountType` is `CREDITCARD`, supply only the last four\ndigits, and digits only.\n"
        },
        "accountName": {
          "type": "string",
          "maxLength": 30,
          "description": "The name for the Xero Bank Account being created. Rejected if the Organisation already\nholds an account with this name.\n"
        },
        "currency": {
          "type": "string",
          "minLength": 3,
          "maxLength": 3,
          "description": "ISO-4217 currency code. Must be a currency the Organisation holds."
        },
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2,
          "description": "ISO-3166 alpha-2 country code. Required only when the Application supports multiple\nregions.\n"
        }
      }
    }
  }
}

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/xero-new-account-feed-connections-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.