Retrieve either one or many BatchPayments for invoices

GET {{baseUrl}}/BatchPayments?where=<string>&order=<string>

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element

HEADERS

KeyDatatypeRequiredDescription
If-Modified-SincestringOnly records created or modified since this timestamp will be returned
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Id&quot;:&quot;6ab84949-4fe5-4788-a135-4d8f690d24d7&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1550866184006)/&quot;,&quot;BatchPayments&quot;:[{&quot;Account&quot;:{&quot;AccountID&quot;:&quot;6f7594f2-f059-4d56-9e67-47ac9733bfe9&quot;},&quot;Reference&quot;:&quot;Hello World&quot;,&quot;BatchPaymentID&quot;:&quot;d0e9bbbf-5b8a-48b6-906a-035591fcb061&quot;,&quot;DateString&quot;:&quot;2017-11-28T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1511827200000+0000)/&quot;,&quot;Payments&quot;:[{&quot;Invoice&quot;:{&quot;InvoiceID&quot;:&quot;0975dec2-0cf6-498d-9c9f-c6775b45c61d&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;LineItems&quot;:[]},&quot;PaymentID&quot;:&quot;97ec2ef8-f4d6-4de5-9f2a-385d41cdc2fc&quot;,&quot;Amount&quot;:200.0},{&quot;Invoice&quot;:{&quot;InvoiceID&quot;:&quot;600982d9-6605-4e11-afa1-d8dec2be7b52&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;LineItems&quot;:[]},&quot;PaymentID&quot;:&quot;e232795f-b919-4865-a754-12f6ae8402c0&quot;,&quot;Amount&quot;:200.0},{&quot;Invoice&quot;:{&quot;InvoiceID&quot;:&quot;99a2bd54-4ab1-413c-90bb-57f6464fe5d6&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;LineItems&quot;:[]},&quot;PaymentID&quot;:&quot;c2d571a5-38ff-4d37-9d43-dfadb4ad53ff&quot;,&quot;Amount&quot;:200.0},{&quot;Invoice&quot;:{&quot;InvoiceID&quot;:&quot;c81942c8-bfc5-4c88-a21a-b892a4a8c1c5&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;LineItems&quot;:[]},&quot;PaymentID&quot;:&quot;0f3c18dc-49bd-47a4-a875-03c84a29978f&quot;,&quot;Amount&quot;:200.0},{&quot;Invoice&quot;:{&quot;InvoiceID&quot;:&quot;6c9a1d89-8319-42f6-87d6-7690e748af85&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;LineItems&quot;:[]},&quot;PaymentID&quot;:&quot;43541eed-f3ac-44ac-88cb-9fe1cb7ed8b8&quot;,&quot;Amount&quot;:200.0}],&quot;Type&quot;:&quot;RECBATCH&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;TotalAmount&quot;:1000.0,&quot;UpdatedDateUTC&quot;:&quot;/Date(1511893792820+0000)/&quot;,&quot;IsReconciled&quot;:false}]}