API Payment Filters

Hello,

Is it possible to filter payments by the applied invoices? I am trying to get all payments in the system that are applied to a certain invoice.

The API docs mention a PaymentFilters class but I can’t find that anywhere. Where can I find that?

Thank you,

Cameron Williams

Hi,

@david can you please advise?

@pats721

you’ll want to use the query /api/v1/invoices?include=payments

This will give you the invoice and its associated payments.