bunq / postman

Postman collection and environments
45 stars 19 forks source link

Getting attachments from payments #16

Open adriaandotcom opened 3 years ago

adriaandotcom commented 3 years ago

I'm trying to use the API and did setup Postman to find out why my code isn't working. Unfortunately in Postman I get the same error.

When I do a request to this endpoint {{host}}/v1/user/{{user_id}}/monetary-account/{{monetary_account_id}}/payment/{{payment_id}}/note-attachment with a recent payment (in the Bunq app the payment has an attachment) I get an error:

Screenshot

The provided object does note support notes.

When I get the payment there is no issue. But somehow the attachments are not working correctly. Is there anything I can do to get the attachments from the API?

It only seems to work for payments that happen between my own Bunq monetary accounts.

janssen-io commented 8 months ago

I also ran into this issue. I found this thread on Bunq Together that mentioned the note actually is not created on the payment but on the Mastercard Action instead.

Makes me wonder when we can use the endpoint on payments though...