Payments API HasAttachments
Hi there,
Currently, there is no way to determine via the API if a payment has an attachment. We are able to retrieve any attachments via using the BankTransactions endpoint (using the payment ID).
For completeness, we need to be able to have the HasAttachment attribute accessible when returning a list of payments - the only way to do this currently is to retrieve the BankStatements/ID/Attachments endpoint for EVERY single payment - which is a pretty big use of resources.
Alternatively (a breaking change) - can we either be able to retrieve Payments via the BankTransactions end point. Adding "HasAttachments" is probably easier.
Thanks so much.