Bunq · Capability

bunq API — Session

bunq API — Session. 1 operations. Lead operation: Session. Self-contained Naftiko capability covering one Bunq business surface.

Run with Naftiko BunqSession

What You Can Do

DELETE
Deletesession — Deletes the current session.
/v1/session/{itemid}

MCP Tools

deletes-current-session

Deletes the current session.

idempotent

Capability Spec

bunq-session.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: bunq API — Session
  description: 'bunq API — Session. 1 operations. Lead operation: Session. Self-contained Naftiko capability covering one
    Bunq business surface.'
  tags:
  - Bunq
  - Session
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BUNQ_API_KEY: BUNQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: bunq-session
    baseUri: https://public-api.sandbox.bunq.com/{basePath}
    description: bunq API — Session business capability. Self-contained, no shared references.
    resources:
    - name: session-itemId
      path: /session/{itemId}
      operations:
      - name: deletesession
        method: DELETE
        description: Deletes the current session.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: itemId
          in: path
          type: integer
          required: true
  exposes:
  - type: rest
    namespace: bunq-session-rest
    port: 8080
    description: REST adapter for bunq API — Session. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/session/{itemid}
      name: session-itemid
      description: REST surface for session-itemId.
      operations:
      - method: DELETE
        name: deletesession
        description: Deletes the current session.
        call: bunq-session.deletesession
        with:
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bunq-session-mcp
    port: 9090
    transport: http
    description: MCP adapter for bunq API — Session. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: deletes-current-session
      description: Deletes the current session.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bunq-session.deletesession
      with:
        itemId: tools.itemId
      outputParameters:
      - type: object
        mapping: $.