FeedConnections

Connect feeds to Xero Bank Accounts that already exist

Changed on

Creates Feed Connections against Xero Bank Accounts the Organisation already has. Each item must include the accountId of the account it connects to. Xero performs no matching of its own, and accountNumber and accountName are ignored if supplied.

Use this endpoint whenever the customer has chosen an account, including when they are reconnecting a feed that was previously terminated.

Each item is processed independently, and the response has one result per request item in request order.

post/FeedConnections/ExistingAccount

Request

  • Base URL
    https://api.xero.com/bankfeeds.xro/2.0
  • URL
    https://api.xero.com/bankfeeds.xro/2.0/FeedConnections/ExistingAccount
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: bankfeedsv2

Headers

Xero-Tenant-Idstring required

Xero identifier for Tenant

Request body

Response

All items are 2xx: each one reached its desired state, and there is nothing left for you to do. A created item has status SUCCESS and statusCode 201.

A response that mixes successful items with rejected or partially failed ones is a 207, not a 200.

Changes