Bunq Attachment Content API

The Bunq Attachment Content API is a tool that allows developers to easily manage and access content attached to transactions within the Bunq banking system. This API enables users to retrieve, update, and delete various types of attachments, such as receipts, invoices, and images, linked to their transactions.

OpenAPI Specification

bunq-attachment-public-attachment-publicuuid-content-openapi-original.yml Raw ↑
openapi: 3.0.0
info:
  title: 'Bunq attachment-public/{attachment-publicUUID}/content'
  description: Needs description.
  termsOfService: http://bunq.com/terms-api/
  contact:
    name: bunq Developer Support
    url: http://bunq.com/developer
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: https://public-api.sandbox.bunq.com/{basePath}
    description: Sandbox server
    variables:
      basePath:
        default: v1
  - url: https://api.bunq.com/{basePath}
    description: Production server
    variables:
      basePath:
        default: v1
components:
  schemas: {}
paths:
  /attachment-public/{attachment-publicUUID}/content:
    get:
      tags:
        - Attachment Public
      summary: ''
      operationId: List_all_Content_for_AttachmentPublic
      description: Get the raw content of a specific attachment.
      parameters:
        - in: path
          name: attachment-publicUUID
          description: ''
          required: true
          schema:
            type: string
        - $ref: '#/components/parameters/Cache-Control'
        - $ref: '#/components/parameters/User-Agent'
        - $ref: '#/components/parameters/X-Bunq-Language'
        - $ref: '#/components/parameters/X-Bunq-Region'
        - $ref: '#/components/parameters/X-Bunq-Client-Request-Id'
        - $ref: '#/components/parameters/X-Bunq-Geolocation'
        - $ref: '#/components/parameters/X-Bunq-Client-Authentication'
      responses:
        '200':
          description: >-
            Fetch the raw content of a public attachment with given ID. The raw
            content is the binary representation of a file, without any JSON
            wrapping.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AttachmentPublicContentListing'
          headers:
            X-Bunq-Client-Response-Id:
              $ref: '#/components/headers/X-Bunq-Client-Response-Id'
            X-Bunq-Client-Request-Id:
              $ref: '#/components/headers/X-Bunq-Client-Request-Id'
            X-Bunq-Server-Signature:
              $ref: '#/components/headers/X-Bunq-Server-Signature'
        '400':
          $ref: '#/components/responses/GenericError'
tags:
  - name: Attachment Public