Bunq · Capability

Bunq user/{userID}/card — User

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

Run with Naftiko BunqUser

What You Can Do

GET
Listallcardforuser — Return all the cards available to the user.
/v1/user/{userid}/card
POST
Createcardbatchforuser — Used to update multiple cards in a batch.
/v1/user/{userid}/card-batch
POST
Createcardbatchreplaceforuser — Used to replace multiple cards in a batch.
/v1/user/{userid}/card-batch-replace
POST
Createcardcreditforuser — Create a new credit card request.
/v1/user/{userid}/card-credit
POST
Createcarddebitforuser — Create a new debit card request.
/v1/user/{userid}/card-debit
GET
Listallcardnameforuser — Return all the accepted card names for a specific user.
/v1/user/{userid}/card-name
GET
Listallexportstatementcardforusercard — Used to create new and read existing card statement exports. Statement exports can be created in either CSV or PDF file format.
/v1/user/{userid}/card/{cardid}/export-statement-card
POST
Createexportstatementcardcsvforusercard — Used to serialize ExportStatementCardCsv
/v1/user/{userid}/card/{cardid}/export-statement-card-csv
GET
Listallexportstatementcardcsvforusercard — Used to serialize ExportStatementCardCsv
/v1/user/{userid}/card/{cardid}/export-statement-card-csv
GET
Readexportstatementcardcsvforusercard — Used to serialize ExportStatementCardCsv
/v1/user/{userid}/card/{cardid}/export-statement-card-csv/{itemid}
DELETE
Deleteexportstatementcardcsvforusercard — Used to serialize ExportStatementCardCsv
/v1/user/{userid}/card/{cardid}/export-statement-card-csv/{itemid}
POST
Createexportstatementcardpdfforusercard — Used to serialize ExportStatementCardPdf
/v1/user/{userid}/card/{cardid}/export-statement-card-pdf
GET
Listallexportstatementcardpdfforusercard — Used to serialize ExportStatementCardPdf
/v1/user/{userid}/card/{cardid}/export-statement-card-pdf
GET
Readexportstatementcardpdfforusercard — Used to serialize ExportStatementCardPdf
/v1/user/{userid}/card/{cardid}/export-statement-card-pdf/{itemid}
DELETE
Deleteexportstatementcardpdfforusercard — Used to serialize ExportStatementCardPdf
/v1/user/{userid}/card/{cardid}/export-statement-card-pdf/{itemid}
GET
Listallcontentforusercardexportstatementcard — Fetch the raw content of a card statement export. The returned file format could be CSV or PDF depending on the statement format specified during the statement creation. The doc won't display the response of a request to get the content of
/v1/user/{userid}/card/{cardid}/export-statement-card/{export-statement-cardid}/content
GET
Readexportstatementcardforusercard — Used to create new and read existing card statement exports. Statement exports can be created in either CSV or PDF file format.
/v1/user/{userid}/card/{cardid}/export-statement-card/{itemid}
POST
Creategeneratedcvc2forusercard — Generate a new CVC2 code for a card.
/v1/user/{userid}/card/{cardid}/generated-cvc2
GET
Listallgeneratedcvc2forusercard — Get all generated CVC2 codes for a card.
/v1/user/{userid}/card/{cardid}/generated-cvc2
GET
Readgeneratedcvc2forusercard — Get the details for a specific generated CVC2 code.
/v1/user/{userid}/card/{cardid}/generated-cvc2/{itemid}
PUT
Updategeneratedcvc2forusercard — Endpoint for generating and retrieving a new CVC2 code.
/v1/user/{userid}/card/{cardid}/generated-cvc2/{itemid}
POST
Createreplaceforusercard — Request a card replacement.
/v1/user/{userid}/card/{cardid}/replace
PUT
Updatecardforuser — Update the card details. Allow to change pin code, status, limits, country permissions and the monetary account connected to the card. When the card has been received, it can be also activated through this endpoint.
/v1/user/{userid}/card/{itemid}
GET
Readcardforuser — Return the details of a specific card.
/v1/user/{userid}/card/{itemid}

MCP Tools

return-all-cards-available-user

Return all the cards available to the user.

read-only idempotent
used-update-multiple-cards-batch

Used to update multiple cards in a batch.

used-replace-multiple-cards-batch

Used to replace multiple cards in a batch.

create-new-credit-card-request

Create a new credit card request.

create-new-debit-card-request

Create a new debit card request.

return-all-accepted-card-names

Return all the accepted card names for a specific user.

read-only idempotent
used-create-new-and-read

Used to create new and read existing card statement exports. Statement exports can be created in either CSV or PDF file format.

read-only idempotent
used-serialize-exportstatementcardcsv

Used to serialize ExportStatementCardCsv

used-serialize-exportstatementcardcsv-2

Used to serialize ExportStatementCardCsv

read-only idempotent
used-serialize-exportstatementcardcsv-3

Used to serialize ExportStatementCardCsv

read-only idempotent
used-serialize-exportstatementcardcsv-4

Used to serialize ExportStatementCardCsv

idempotent
used-serialize-exportstatementcardpdf

Used to serialize ExportStatementCardPdf

used-serialize-exportstatementcardpdf-2

Used to serialize ExportStatementCardPdf

read-only idempotent
used-serialize-exportstatementcardpdf-3

Used to serialize ExportStatementCardPdf

read-only idempotent
used-serialize-exportstatementcardpdf-4

Used to serialize ExportStatementCardPdf

idempotent
fetch-raw-content-card-statement

Fetch the raw content of a card statement export. The returned file format could be CSV or PDF depending on the statement format specified during the statement creation. The doc won't display the response of a request to get the content of

read-only idempotent
used-create-new-and-read-2

Used to create new and read existing card statement exports. Statement exports can be created in either CSV or PDF file format.

read-only idempotent
generate-new-cvc2-code-card

Generate a new CVC2 code for a card.

get-all-generated-cvc2-codes

Get all generated CVC2 codes for a card.

read-only idempotent
get-details-specific-generated-cvc2

Get the details for a specific generated CVC2 code.

read-only idempotent
endpoint-generating-and-retrieving-new

Endpoint for generating and retrieving a new CVC2 code.

idempotent
request-card-replacement

Request a card replacement.

update-card-details-allow-change

Update the card details. Allow to change pin code, status, limits, country permissions and the monetary account connected to the card. When the card has been received, it can be also activated through this endpoint.

idempotent
return-details-specific-card

Return the details of a specific card.

read-only idempotent

Capability Spec

user-userid-card-user.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bunq user/{userID}/card — User
  description: 'Bunq user/{userID}/card — User. 24 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-card-user
    baseUri: https://public-api.sandbox.bunq.com/{basePath}
    description: Bunq user/{userID}/card — User business capability. Self-contained, no shared references.
    resources:
    - name: user-userID-card
      path: /user/{userID}/card
      operations:
      - name: listallcardforuser
        method: GET
        description: Return all the cards available to the user.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
    - name: user-userID-card-batch
      path: /user/{userID}/card-batch
      operations:
      - name: createcardbatchforuser
        method: POST
        description: Used to update multiple cards in a batch.
        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: user-userID-card-batch-replace
      path: /user/{userID}/card-batch-replace
      operations:
      - name: createcardbatchreplaceforuser
        method: POST
        description: Used to replace multiple cards in a batch.
        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: user-userID-card-credit
      path: /user/{userID}/card-credit
      operations:
      - name: createcardcreditforuser
        method: POST
        description: Create a new credit card request.
        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: user-userID-card-debit
      path: /user/{userID}/card-debit
      operations:
      - name: createcarddebitforuser
        method: POST
        description: Create a new debit card request.
        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: user-userID-card-name
      path: /user/{userID}/card-name
      operations:
      - name: listallcardnameforuser
        method: GET
        description: Return all the accepted card names for a specific user.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card
      path: /user/{userID}/card/{cardID}/export-statement-card
      operations:
      - name: listallexportstatementcardforusercard
        method: GET
        description: Used to create new and read existing card statement exports. Statement exports can be created in either
          CSV or PDF file format.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card-csv
      path: /user/{userID}/card/{cardID}/export-statement-card-csv
      operations:
      - name: createexportstatementcardcsvforusercard
        method: POST
        description: Used to serialize ExportStatementCardCsv
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listallexportstatementcardcsvforusercard
        method: GET
        description: Used to serialize ExportStatementCardCsv
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card-csv-itemId
      path: /user/{userID}/card/{cardID}/export-statement-card-csv/{itemId}
      operations:
      - name: readexportstatementcardcsvforusercard
        method: GET
        description: Used to serialize ExportStatementCardCsv
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
      - name: deleteexportstatementcardcsvforusercard
        method: DELETE
        description: Used to serialize ExportStatementCardCsv
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card-pdf
      path: /user/{userID}/card/{cardID}/export-statement-card-pdf
      operations:
      - name: createexportstatementcardpdfforusercard
        method: POST
        description: Used to serialize ExportStatementCardPdf
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listallexportstatementcardpdfforusercard
        method: GET
        description: Used to serialize ExportStatementCardPdf
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card-pdf-itemId
      path: /user/{userID}/card/{cardID}/export-statement-card-pdf/{itemId}
      operations:
      - name: readexportstatementcardpdfforusercard
        method: GET
        description: Used to serialize ExportStatementCardPdf
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
      - name: deleteexportstatementcardpdfforusercard
        method: DELETE
        description: Used to serialize ExportStatementCardPdf
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card-export-statement-cardID-content
      path: /user/{userID}/card/{cardID}/export-statement-card/{export-statement-cardID}/content
      operations:
      - name: listallcontentforusercardexportstatementcard
        method: GET
        description: 'Fetch the raw content of a card statement export. The returned file format could be CSV or PDF depending
          on the statement format specified during the statement creation. The doc won''t display the response of a request
          to get the content of '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: export-statement-cardID
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-export-statement-card-itemId
      path: /user/{userID}/card/{cardID}/export-statement-card/{itemId}
      operations:
      - name: readexportstatementcardforusercard
        method: GET
        description: Used to create new and read existing card statement exports. Statement exports can be created in either
          CSV or PDF file format.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-generated-cvc2
      path: /user/{userID}/card/{cardID}/generated-cvc2
      operations:
      - name: creategeneratedcvc2forusercard
        method: POST
        description: Generate a new CVC2 code for a card.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listallgeneratedcvc2forusercard
        method: GET
        description: Get all generated CVC2 codes for a card.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
    - name: user-userID-card-cardID-generated-cvc2-itemId
      path: /user/{userID}/card/{cardID}/generated-cvc2/{itemId}
      operations:
      - name: readgeneratedcvc2forusercard
        method: GET
        description: Get the details for a specific generated CVC2 code.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: itemId
          in: path
          type: integer
          required: true
      - name: updategeneratedcvc2forusercard
        method: PUT
        description: Endpoint for generating and retrieving a new CVC2 code.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          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
    - name: user-userID-card-cardID-replace
      path: /user/{userID}/card/{cardID}/replace
      operations:
      - name: createreplaceforusercard
        method: POST
        description: Request a card replacement.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: userID
          in: path
          type: integer
          required: true
        - name: cardID
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user-userID-card-itemId
      path: /user/{userID}/card/{itemId}
      operations:
      - name: updatecardforuser
        method: PUT
        description: Update the card details. Allow to change pin code, status, limits, country permissions and the monetary
          account connected to the card. When the card has been received, it can be also activated through this endpoint.
        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
      - name: readcardforuser
        method: GET
        description: Return the details of a specific card.
        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
  exposes:
  - type: rest
    namespace: user-userid-card-user-rest
    port: 8080
    description: REST adapter for Bunq user/{userID}/card — User. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/user/{userid}/card
      name: user-userid-card
      description: REST surface for user-userID-card.
      operations:
      - method: GET
        name: listallcardforuser
        description: Return all the cards available to the user.
        call: user-userid-card-user.listallcardforuser
        with:
          userID: rest.userID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card-batch
      name: user-userid-card-batch
      description: REST surface for user-userID-card-batch.
      operations:
      - method: POST
        name: createcardbatchforuser
        description: Used to update multiple cards in a batch.
        call: user-userid-card-user.createcardbatchforuser
        with:
          userID: rest.userID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card-batch-replace
      name: user-userid-card-batch-replace
      description: REST surface for user-userID-card-batch-replace.
      operations:
      - method: POST
        name: createcardbatchreplaceforuser
        description: Used to replace multiple cards in a batch.
        call: user-userid-card-user.createcardbatchreplaceforuser
        with:
          userID: rest.userID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card-credit
      name: user-userid-card-credit
      description: REST surface for user-userID-card-credit.
      operations:
      - method: POST
        name: createcardcreditforuser
        description: Create a new credit card request.
        call: user-userid-card-user.createcardcreditforuser
        with:
          userID: rest.userID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card-debit
      name: user-userid-card-debit
      description: REST surface for user-userID-card-debit.
      operations:
      - method: POST
        name: createcarddebitforuser
        description: Create a new debit card request.
        call: user-userid-card-user.createcarddebitforuser
        with:
          userID: rest.userID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card-name
      name: user-userid-card-name
      description: REST surface for user-userID-card-name.
      operations:
      - method: GET
        name: listallcardnameforuser
        description: Return all the accepted card names for a specific user.
        call: user-userid-card-user.listallcardnameforuser
        with:
          userID: rest.userID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card
      name: user-userid-card-cardid-export-statement-card
      description: REST surface for user-userID-card-cardID-export-statement-card.
      operations:
      - method: GET
        name: listallexportstatementcardforusercard
        description: Used to create new and read existing card statement exports. Statement exports can be created in either
          CSV or PDF file format.
        call: user-userid-card-user.listallexportstatementcardforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card-csv
      name: user-userid-card-cardid-export-statement-card-csv
      description: REST surface for user-userID-card-cardID-export-statement-card-csv.
      operations:
      - method: POST
        name: createexportstatementcardcsvforusercard
        description: Used to serialize ExportStatementCardCsv
        call: user-userid-card-user.createexportstatementcardcsvforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallexportstatementcardcsvforusercard
        description: Used to serialize ExportStatementCardCsv
        call: user-userid-card-user.listallexportstatementcardcsvforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card-csv/{itemid}
      name: user-userid-card-cardid-export-statement-card-csv-itemid
      description: REST surface for user-userID-card-cardID-export-statement-card-csv-itemId.
      operations:
      - method: GET
        name: readexportstatementcardcsvforusercard
        description: Used to serialize ExportStatementCardCsv
        call: user-userid-card-user.readexportstatementcardcsvforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteexportstatementcardcsvforusercard
        description: Used to serialize ExportStatementCardCsv
        call: user-userid-card-user.deleteexportstatementcardcsvforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card-pdf
      name: user-userid-card-cardid-export-statement-card-pdf
      description: REST surface for user-userID-card-cardID-export-statement-card-pdf.
      operations:
      - method: POST
        name: createexportstatementcardpdfforusercard
        description: Used to serialize ExportStatementCardPdf
        call: user-userid-card-user.createexportstatementcardpdfforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallexportstatementcardpdfforusercard
        description: Used to serialize ExportStatementCardPdf
        call: user-userid-card-user.listallexportstatementcardpdfforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card-pdf/{itemid}
      name: user-userid-card-cardid-export-statement-card-pdf-itemid
      description: REST surface for user-userID-card-cardID-export-statement-card-pdf-itemId.
      operations:
      - method: GET
        name: readexportstatementcardpdfforusercard
        description: Used to serialize ExportStatementCardPdf
        call: user-userid-card-user.readexportstatementcardpdfforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteexportstatementcardpdfforusercard
        description: Used to serialize ExportStatementCardPdf
        call: user-userid-card-user.deleteexportstatementcardpdfforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card/{export-statement-cardid}/content
      name: user-userid-card-cardid-export-statement-card-export-statement-cardid-content
      description: REST surface for user-userID-card-cardID-export-statement-card-export-statement-cardID-content.
      operations:
      - method: GET
        name: listallcontentforusercardexportstatementcard
        description: 'Fetch the raw content of a card statement export. The returned file format could be CSV or PDF depending
          on the statement format specified during the statement creation. The doc won''t display the response of a request
          to get the content of '
        call: user-userid-card-user.listallcontentforusercardexportstatementcard
        with:
          userID: rest.userID
          cardID: rest.cardID
          export-statement-cardID: rest.export-statement-cardID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/export-statement-card/{itemid}
      name: user-userid-card-cardid-export-statement-card-itemid
      description: REST surface for user-userID-card-cardID-export-statement-card-itemId.
      operations:
      - method: GET
        name: readexportstatementcardforusercard
        description: Used to create new and read existing card statement exports. Statement exports can be created in either
          CSV or PDF file format.
        call: user-userid-card-user.readexportstatementcardforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/generated-cvc2
      name: user-userid-card-cardid-generated-cvc2
      description: REST surface for user-userID-card-cardID-generated-cvc2.
      operations:
      - method: POST
        name: creategeneratedcvc2forusercard
        description: Generate a new CVC2 code for a card.
        call: user-userid-card-user.creategeneratedcvc2forusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listallgeneratedcvc2forusercard
        description: Get all generated CVC2 codes for a card.
        call: user-userid-card-user.listallgeneratedcvc2forusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/generated-cvc2/{itemid}
      name: user-userid-card-cardid-generated-cvc2-itemid
      description: REST surface for user-userID-card-cardID-generated-cvc2-itemId.
      operations:
      - method: GET
        name: readgeneratedcvc2forusercard
        description: Get the details for a specific generated CVC2 code.
        call: user-userid-card-user.readgeneratedcvc2forusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updategeneratedcvc2forusercard
        description: Endpoint for generating and retrieving a new CVC2 code.
        call: user-userid-card-user.updategeneratedcvc2forusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          itemId: rest.itemId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{cardid}/replace
      name: user-userid-card-cardid-replace
      description: REST surface for user-userID-card-cardID-replace.
      operations:
      - method: POST
        name: createreplaceforusercard
        description: Request a card replacement.
        call: user-userid-card-user.createreplaceforusercard
        with:
          userID: rest.userID
          cardID: rest.cardID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/{userid}/card/{itemid}
      name: user-userid-card-itemid
      description: REST surface for user-userID-card-itemId.
      operations:
      - method: PUT
        name: updatecardforuser
        description: Update the card details. Allow to change pin code, status, limits, country permissions and the monetary
          account connected to the card. When the card has been received, it can be also activated through this endpoint.
        call: user-userid-card-user.updatecardforuser
        with:
          userID: rest.userID
          itemId: rest.itemId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: readcardforuser
        description: Return the details of a specific card.
        call: user-userid-card-user.readcardforuser
        with:
          userID: rest.userID
          itemId: rest.itemId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: user-userid-card-user-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bunq user/{userID}/card — User. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: return-all-cards-available-user
      description: Return all the cards available to the user.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-card-user.listallcardforuser
      with:
        userID: tools.userID
      outputParameters:
      - type: object
        mapping: $.
    - name: used-update-multiple-cards-batch
      description: Used to update multiple cards in a batch.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-userid-card-user.createcardbatchforuser
      with:
        userID: tools.userID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: used-replace-multiple-cards-batch
      description: Used to replace multiple cards in a batch.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-userid-card-user.createcardbatchreplaceforuser
      with:
        userID: tools.userID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-credit-card-request
      description: Create a new credit card request.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-userid-card-user.createcardcreditforuser
      with:
        userID: tools.userID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: create-new-debit-card-request
      description: Create a new debit card request.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-userid-card-user.createcarddebitforuser
      with:
        userID: tools.userID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: return-all-accepted-card-names
      description: Return all the accepted card names for a specific user.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-card-user.listallcardnameforuser
      with:
        userID: tools.userID
      outputParameters:
      - type: object
        mapping: $.
    - name: used-create-new-and-read
      description: Used to create new and read existing card statement exports. Statement exports can be created in either
        CSV or PDF file format.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-card-user.listallexportstatementcardforusercard
      with:
        userID: tools.userID
        cardID: tools.cardID
      outputParameters:
      - type: object
        mapping: $.
    - name: used-serialize-exportstatementcardcsv
      description: Used to serialize ExportStatementCardCsv
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: user-userid-card-user.createexportstatementcardcsvforusercard
      with:
        userID: tools.userID
        cardID: tools.cardID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: used-serialize-exportstatementcardcsv-2
      description: Used to serialize ExportStatementCardCsv
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: user-userid-card-user.listallexportstatementcardcsvforusercard
      with:
        userID: tools.userID
        cardID: tools.cardID
      outputParameters:
      - type: object
        mapping: $.
    - name: used-serialize-exportstatementcardcsv-3
      description: Used to serialize ExportStatementCardCsv
      hints:
        readOnly: true
        d

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bunq/refs/heads/main/capabilities/user-userid-card-user.yaml