Hi all,
I'm trying to add an attachment to a payment (in this example a reciept for a mastercard payment at a shop). I'm using the BunqSdk for C# and figured it requries me uploading an attachment first using AttachmentMonetaryAccount.Create()
, this works and I'm getting an attachmentId
.
Second I figure I have to connect this attachmentId
with a description to a payment using NoteAttachmentPayment.Create()
and this is where it currently stops working. I'm getting an error back saying
Error message: It is not possible to create a note for the provided object.
So maybe I need to use MoteAttachmentMasterCardAction.Create()
but I am unable to find a mastercardActionId
for the payment.
So basically the question would be: how do I add an attachment to a payment?