naftiko: 1.0.0-alpha2 info: label: Bunq user/{userID}/challenge-request — User description: 'Bunq user/{userID}/challenge-request — User. 2 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-challenge-request-user baseUri: https://public-api.sandbox.bunq.com/{basePath} description: Bunq user/{userID}/challenge-request — User business capability. Self-contained, no shared references. resources: - name: user-userID-challenge-request-itemId path: /user/{userID}/challenge-request/{itemId} operations: - name: readchallengerequestforuser method: GET description: Endpoint for apps to fetch a challenge request. 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: updatechallengerequestforuser method: PUT description: Endpoint for apps to fetch a challenge request. 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-challenge-request-user-rest port: 8080 description: REST adapter for Bunq user/{userID}/challenge-request — User. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/user/{userid}/challenge-request/{itemid} name: user-userid-challenge-request-itemid description: REST surface for user-userID-challenge-request-itemId. operations: - method: GET name: readchallengerequestforuser description: Endpoint for apps to fetch a challenge request. call: user-userid-challenge-request-user.readchallengerequestforuser with: userID: rest.userID itemId: rest.itemId outputParameters: - type: object mapping: $. - method: PUT name: updatechallengerequestforuser description: Endpoint for apps to fetch a challenge request. call: user-userid-challenge-request-user.updatechallengerequestforuser with: userID: rest.userID itemId: rest.itemId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: user-userid-challenge-request-user-mcp port: 9090 transport: http description: MCP adapter for Bunq user/{userID}/challenge-request — User. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: endpoint-apps-fetch-challenge-request description: Endpoint for apps to fetch a challenge request. hints: readOnly: true destructive: false idempotent: true call: user-userid-challenge-request-user.readchallengerequestforuser with: userID: tools.userID itemId: tools.itemId outputParameters: - type: object mapping: $. - name: endpoint-apps-fetch-challenge-request-2 description: Endpoint for apps to fetch a challenge request. hints: readOnly: false destructive: false idempotent: true call: user-userid-challenge-request-user.updatechallengerequestforuser with: userID: tools.userID itemId: tools.itemId body: tools.body outputParameters: - type: object mapping: $.