Bunq · Capability

Bunq user/{userID}/company — User

Bunq user/{userID}/company — User. 4 operations. Lead operation: User. Self-contained Naftiko capability covering one Bunq business surface.

Run with Naftiko BunqUser

What You Can Do

POST
Createcompanyforuser — Create and manage companies.
/v1/user/{userid}/company
GET
Listallcompanyforuser — Create and manage companies.
/v1/user/{userid}/company
GET
Readcompanyforuser — Create and manage companies.
/v1/user/{userid}/company/{itemid}
PUT
Updatecompanyforuser — Create and manage companies.
/v1/user/{userid}/company/{itemid}

MCP Tools

create-and-manage-companies

Create and manage companies.

create-and-manage-companies-2

Create and manage companies.

read-only idempotent
create-and-manage-companies-3

Create and manage companies.

read-only idempotent
create-and-manage-companies-4

Create and manage companies.

idempotent

Capability Spec

user-userid-company-user.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bunq user/{userID}/company — User
  description: 'Bunq user/{userID}/company — User. 4 operations. Lead operation: User. Self-contained Naftiko capability covering
    one Bunq business surface.'
  tags:
  - Bunq
  - User
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BUNQ_API_KEY: BUNQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: user-userid-company-user
    baseUri: https://public-api.sandbox.bunq.com/{basePath}
    description: Bunq user/{userID}/company — User business capability. Self-contained, no shared references.
    resources:
    - name: user-userID-company
      path: /user/{userID}/company
      operations:
      - name: createcompanyforuser
        method: POST
        description: Create and manage companies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listallcompanyforuser
        method: GET
        description: Create and manage companies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
    - name: user-userID-company-itemId
      path: /user/{userID}/company/{itemId}
      operations:
      - name: readcompanyforuser
        method: GET
        description: Create and manage companies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
      - name: updatecompanyforuser
        method: PUT
        description: Create and manage companies.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: user-userid-company-user-rest
    port: 8080
    description: REST adapter for Bunq user/{userID}/company — User. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/user/{userid}/company
      name: user-userid-company
      description: REST surface for user-userID-company.
      operations:
      - method: POST
        name: createcompanyforuser
        description: Create and manage companies.
        call: user-userid-company-user.createcompanyforuser
        with:
          userID: rest.userID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallcompanyforuser
        description: Create and manage companies.
        call: user-userid-company-user.listallcompanyforuser
        with:
          userID: rest.userID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/company/{itemid}
      name: user-userid-company-itemid
      description: REST surface for user-userID-company-itemId.
      operations:
      - method: GET
        name: readcompanyforuser
        description: Create and manage companies.
        call: user-userid-company-user.readcompanyforuser
        with:
          userID: rest.userID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatecompanyforuser
        description: Create and manage companies.
        call: user-userid-company-user.updatecompanyforuser
        with:
          userID: rest.userID
          itemId: rest.itemId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: user-userid-company-user-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bunq user/{userID}/company — User. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: create-and-manage-companies
      description: Create and manage companies.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-userid-company-user.createcompanyforuser
      with:
        userID: tools.userID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-and-manage-companies-2
      description: Create and manage companies.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-company-user.listallcompanyforuser
      with:
        userID: tools.userID
      outputParameters:
      - type: object
        mapping: $.
    - name: create-and-manage-companies-3
      description: Create and manage companies.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-company-user.readcompanyforuser
      with:
        userID: tools.userID
        itemId: tools.itemId
      outputParameters:
      - type: object
        mapping: $.
    - name: create-and-manage-companies-4
      description: Create and manage companies.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: user-userid-company-user.updatecompanyforuser
      with:
        userID: tools.userID
        itemId: tools.itemId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.