Allows you to create a bank transfers

PUT {{baseUrl}}/BankTransfers

Request Body

{"BankTransfers"=>[{"FromBankAccount"=>{"Code"=>"<string>", "Name"=>"<string>", "AccountID"=>"<uuid>", "Type"=>"<string>", "BankAccountNumber"=>"<string>", "Status"=>"<string>", "Description"=>"<string>", "BankAccountType"=>"<string>", "CurrencyCode"=>"<string>", "TaxType"=>"<string>", "EnablePaymentsToAccount"=>"<boolean>", "ShowInExpenseClaims"=>"<boolean>", "ReportingCode"=>"<string>", "AddToWatchlist"=>"<boolean>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}, "ToBankAccount"=>{"Code"=>"<string>", "Name"=>"<string>", "AccountID"=>"<uuid>", "Type"=>"<string>", "BankAccountNumber"=>"<string>", "Status"=>"<string>", "Description"=>"<string>", "BankAccountType"=>"<string>", "CurrencyCode"=>"<string>", "TaxType"=>"<string>", "EnablePaymentsToAccount"=>"<boolean>", "ShowInExpenseClaims"=>"<boolean>", "ReportingCode"=>"<string>", "AddToWatchlist"=>"<boolean>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}, "Amount"=>"<double>", "Date"=>"<string>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}, {"FromBankAccount"=>{"Code"=>"<string>", "Name"=>"<string>", "AccountID"=>"<uuid>", "Type"=>"<string>", "BankAccountNumber"=>"<string>", "Status"=>"<string>", "Description"=>"<string>", "BankAccountType"=>"<string>", "CurrencyCode"=>"<string>", "TaxType"=>"<string>", "EnablePaymentsToAccount"=>"<boolean>", "ShowInExpenseClaims"=>"<boolean>", "ReportingCode"=>"<string>", "AddToWatchlist"=>"<boolean>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}, "ToBankAccount"=>{"Code"=>"<string>", "Name"=>"<string>", "AccountID"=>"<uuid>", "Type"=>"<string>", "BankAccountNumber"=>"<string>", "Status"=>"<string>", "Description"=>"<string>", "BankAccountType"=>"<string>", "CurrencyCode"=>"<string>", "TaxType"=>"<string>", "EnablePaymentsToAccount"=>"<boolean>", "ShowInExpenseClaims"=>"<boolean>", "ReportingCode"=>"<string>", "AddToWatchlist"=>"<boolean>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}, "Amount"=>"<double>", "Date"=>"<string>", "ValidationErrors"=>[{"Message"=>"<string>"}, {"Message"=>"<string>"}]}]}

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;ae767b68-affd-4e17-bac0-83eaf1854dcd&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1551311317475)/&quot;,&quot;BankTransfers&quot;:[{&quot;BankTransferID&quot;:&quot;76eea4b6-f026-464c-b6f3-5fb39a196145&quot;,&quot;DateString&quot;:&quot;2019-02-27T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1551225600000+0000)/&quot;,&quot;FromBankAccount&quot;:{&quot;AccountID&quot;:&quot;7e5e243b-9fcd-4aef-8e3a-c70be1e39bfa&quot;,&quot;Code&quot;:&quot;090&quot;,&quot;Name&quot;:&quot;My Savings&quot;},&quot;ToBankAccount&quot;:{&quot;AccountID&quot;:&quot;6f7594f2-f059-4d56-9e67-47ac9733bfe9&quot;,&quot;Code&quot;:&quot;088&quot;,&quot;Name&quot;:&quot;Business Wells Fargo&quot;},&quot;Amount&quot;:50.0,&quot;FromBankTransactionID&quot;:&quot;e4059952-5acb-4a56-b076-53fad85f2930&quot;,&quot;ToBankTransactionID&quot;:&quot;88e4ac17-293b-4e5a-8d8b-3ce3a0b1ee17&quot;,&quot;CurrencyRate&quot;:1.0,&quot;ValidationErrors&quot;:[]}]}