Attachment upload to Payments with encrypted payload
Summary:
We have a requirement to upload cheque images to cleared payment. We are exploring APIs to upload cheque images. We are not able to find a REST API providing image upload to Payments. Please confirm if there is a REST API to meet this requirement.
We have found a SOAP API : ErpObjectAttachmentService with Operation: uploadAttachment
* The API need User Keys, what are the key combinations to upload attachment to a payment?
* We need to encrypt the payload using ERP public key.
How to notify ERP which key to be used for decryption before the file is attached on the payment?