Accounting

Deletes one or more bank transfers

Changed on
post/BankTransfers

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • URL
    https://api.xero.com/api.xro/2.0/BankTransfers
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: accounting.transactions

Query parameters

summarizeErrorsboolean

If false return 200 OK and mix of successfully created objects and any with validation errors

Headers

Idempotency-Keystring

This allows you to safely retry requests without the risk of duplicate processing. 128 character max.

Request body

Response

Success - return response of BankTransfers array of deleted BankTransfer

Example response

{
  "BankTransfers": [
    {
      "FromBankAccount": {
        "Name": "Food Sales",
        "AccountID": "00000000-0000-0000-0000-000000000000",
        "UpdatedDateUTC": "/Date(1573755038314)/"
      },
      "ToBankAccount": {
        "Name": "Food Sales",
        "AccountID": "00000000-0000-0000-0000-000000000000",
        "UpdatedDateUTC": "/Date(1573755038314)/"
      },
      "CreatedDateUTC": "/Date(1573755038314)/"
    }
  ]
}

Changes