Accounting

Creates a bank transfer

Changed on
put/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

Headers

Idempotency-Keystring

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

Request body

Example request

{
  "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)/"
    }
  ]
}

Response

Success - return response of BankTransfers array of one 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

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status