You can read all Payments from Xero without passing any filters. However, to retrieve specific records based on any filter conditions, you can add the following filters as "queryParameters" as shown in the below example.
Order by any element returned
Up to 100 purchase orders will be returned per call, with line items shown for each, when the page parameter is used. e.g. page=1
Filter by Filter using the where parameter. We recommend you limit filtering to the optimised elements only. order status - AUTHORISED, DELETED