Allows you to retrieve payments for invoices and credit notes

GET {{baseUrl}}/Payments?where=<string>&order=<string>&page=<integer>

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element
pagestringUp to 100 payments will be returned in a single API call

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;9f310473-e1b5-4704-a25c-eec653deb596&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552431874205)/&quot;,&quot;Payments&quot;:[{&quot;PaymentID&quot;:&quot;99ea7f6b-c513-4066-bc27-b7c65dcd76c2&quot;,&quot;BatchPaymentID&quot;:&quot;b54aa50c-794c-461b-89d1-846e1b84d9c0&quot;,&quot;BatchPayment&quot;:{&quot;Account&quot;:{&quot;AccountID&quot;:&quot;5690f1e8-1d02-4893-90c2-ee1a69eff942&quot;},&quot;BatchPaymentID&quot;:&quot;b54aa50c-794c-461b-89d1-846e1b84d9c0&quot;,&quot;Date&quot;:&quot;/Date(1552521600000+0000)/&quot;,&quot;Type&quot;:&quot;RECBATCH&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;TotalAmount&quot;:&quot;50.00&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1541176592690+0000)/&quot;,&quot;IsReconciled&quot;:&quot;false&quot;},&quot;Date&quot;:&quot;/Date(1543449600000+0000)/&quot;,&quot;BankAmount&quot;:46.0,&quot;Amount&quot;:46.0,&quot;Reference&quot;:&quot;&quot;,&quot;CurrencyRate&quot;:1.0,&quot;PaymentType&quot;:&quot;ACCRECPAYMENT&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1541176592690+0000)/&quot;,&quot;HasAccount&quot;:true,&quot;IsReconciled&quot;:false,&quot;Account&quot;:{&quot;AccountID&quot;:&quot;5690f1e8-1d02-4893-90c2-ee1a69eff942&quot;,&quot;Code&quot;:&quot;970&quot;},&quot;Invoice&quot;:{&quot;Type&quot;:&quot;ACCREC&quot;,&quot;InvoiceID&quot;:&quot;046d8a6d-1ae1-4b4d-9340-5601bdf41b87&quot;,&quot;InvoiceNumber&quot;:&quot;INV-0002&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;a3675fc4-f8dd-4f03-ba5b-f1870566bcd7&quot;,&quot;ContactNumber&quot;:&quot;&quot;,&quot;Name&quot;:&quot;Barney Rubble-83203&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;LineItems&quot;:[],&quot;CurrencyCode&quot;:&quot;NZD&quot;},&quot;HasValidationErrors&quot;:false},{&quot;PaymentID&quot;:&quot;6b037c9b-2e5d-4905-84d3-eabfb3438242&quot;,&quot;Date&quot;:&quot;/Date(1552521600000+0000)/&quot;,&quot;BankAmount&quot;:2.0,&quot;Amount&quot;:2.0,&quot;Reference&quot;:&quot;Too much&quot;,&quot;CurrencyRate&quot;:1.0,&quot;PaymentType&quot;:&quot;ARCREDITPAYMENT&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1551812346173+0000)/&quot;,&quot;HasAccount&quot;:true,&quot;IsReconciled&quot;:false,&quot;Account&quot;:{&quot;AccountID&quot;:&quot;136ebd08-60ea-4592-8982-be92c153b53a&quot;,&quot;Code&quot;:&quot;980&quot;},&quot;Invoice&quot;:{&quot;Type&quot;:&quot;ACCRECCREDIT&quot;,&quot;InvoiceID&quot;:&quot;249f15fa-f2a7-4acc-8769-0984103f2225&quot;,&quot;InvoiceNumber&quot;:&quot;CN-0005&quot;,&quot;Payments&quot;:[],&quot;CreditNotes&quot;:[],&quot;Prepayments&quot;:[],&quot;Overpayments&quot;:[],&quot;HasErrors&quot;:false,&quot;IsDiscounted&quot;:false,&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;430fa14a-f945-44d3-9f97-5df5e28441b8&quot;,&quot;ContactNumber&quot;:&quot;&quot;,&quot;Name&quot;:&quot;Liam Gallagher&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;LineItems&quot;:[],&quot;CurrencyCode&quot;:&quot;NZD&quot;},&quot;HasValidationErrors&quot;:false}]}