API Add "payments list" to invoice object

1 votes

In the API, we can pull an invoice by its invoice id.
We can access payments by getting a list of payments.
By checking each payment, we can compare the invoice id inside each payment until we find the payment for the invoice id we seek.
ISSUE: This is a large "haystack" to find a single "needle."

REQUEST: from the API, allow us to query the payments with the optional parameter "invoiceid"
or
REQUEST: To the invoice data, ADD a list of payment IDs—so we can go at the payment(s) directly.

Specifically, I'm using the python "invoiced" package; and am having success on many aspects of your service; thank you for that.

Under consideration Suggested by: Don Walters (L3) Upvoted: 02 Mar, '21 Comments: 1

Comments: 1