I regularly make photos of my receipts, which I attach to the relevant card payments. I would like to download these receipts automagically. I am able to download the AttachmentMonetaryAccountPayment objects, but sadly the corresponding content fetching endpoint is not documented.
The API enables downloading various attachments and their contents. This specific type of attachment however eludes documentation.
As an example, I am able to fetch the following object:
{ AttachmentMonetaryAccount:
{ id: <snip>,
created: '2019-04-13 09:15:16.660974',
updated: '2019-04-13 09:15:16.660974',
attachment: { id: <snip>, description: '', content_type: 'image/jpeg' } } }
The corresponding endpoint to fetch its content is missing under https://doc.bunq.com/#/content .