Xero · Example Payload

Xero Createfeedconnections Example

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Xero Createfeedconnections Example is an example object payload from Xero, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createFeedConnections",
  "method": "POST",
  "path": "/FeedConnections",
  "summary": "Xero Create one or more new feed connection",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "items": [
          {
            "accountToken": "foobar71760",
            "accountNumber": "123458637",
            "accountName": "SDK Bank 90861",
            "accountType": "BANK",
            "currency": "GBP"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "202",
      "contentType": "application/json",
      "example": {
        "items": [
          {
            "id": "2a19d46c-2a92-4e50-9401-dcf2cb895be7",
            "accountToken": "foobar71760",
            "status": "PENDING"
          }
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "example": {
        "items": [
          {
            "accountToken": "foobar71760",
            "status": "REJECTED",
            "error": {
              "type": "invalid-request",
              "title": "Invalid Request",
              "status": 400,
              "detail": "For the request field 'AccountNumber' exceeded the maximum length of 40."
            }
          }
        ]
      }
    }
  ]
}