{
  "opencollection": "1.0.0",
  "info": {
    "name": "Xero Bank Feeds API",
    "version": "11.1.0"
  },
  "items": [
    {
      "info": {
        "name": "BankFeeds",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Xero Searches for feed connections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/FeedConnections",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number which specifies the set of records to retrieve. By default the number of the records per set is 10. Example - https://api.xero.com/bankfeeds.xro/1.0/FeedConnections?page=1 to get the second set of the records. When page value is not a number or a negative number, by default, the first set of records is returned."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Page size which specifies how many records per page will be returned (default 10). Example - https://api.xero.com/bankfeeds.xro/1.0/FeedConnections?pageSize=100 to specify page size of 100."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "By passing in the appropriate options, you can search for available feed connections in the system."
        },
        {
          "info": {
            "name": "Xero Create one or more new feed connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/FeedConnections",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": "KEY_VALUE"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "By passing in the FeedConnections array object in the body, you can create one or more new feed connections"
        },
        {
          "info": {
            "name": "Xero Retrieve single feed connection based on a unique id provided",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/FeedConnections/:id",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for retrieving single object"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "By passing in a FeedConnection Id options, you can search for matching feed connections"
        },
        {
          "info": {
            "name": "Xero Delete an existing feed connection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/FeedConnections/DeleteRequests",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": "KEY_VALUE"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "By passing in FeedConnections array object in the body, you can delete a feed connection."
        },
        {
          "info": {
            "name": "Xero Retrieve all statements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/Statements",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              },
              {
                "name": "Xero-Application-Id",
                "value": ""
              },
              {
                "name": "Xero-User-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "unique id for single object"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Page size which specifies how many records per page will be returned (default 10). Example - https://api.xero.com/bankfeeds.xro/1.0/Statements?pageSize=100 to specify page size of 100."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "By passing in parameters, you can search for matching statements"
        },
        {
          "info": {
            "name": "Xero Creates one or more new statements",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/Statements",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": "KEY_VALUE"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Xero Creates one or more new statements"
        },
        {
          "info": {
            "name": "Xero Retrieve single statement based on unique id provided",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.xero.com/bankfeeds.xro/1.0/Statements/:statementId",
            "headers": [
              {
                "name": "Xero-Tenant-Id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "statementId",
                "value": "",
                "type": "path",
                "description": "statement id for single object"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.xero.com/identity/connect/authorize",
              "accessTokenUrl": "https://identity.xero.com/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "By passing in a statement id, you can search for matching statements"
        }
      ]
    }
  ],
  "bundled": true
}