Hello
The method invoice.log.query is defined by this type:
function query(params?: {
limit?: number | null,
after?: string | null,
before?: string | null,
types?: string[] | null,
paymentIds?: string[] | null,
user?: Project | Organization | null
}): Promise<invoice.Log[]>;
Nevetheless, the paymentIds do not work. As the documentation states, the invoiceIds works.