Wise · Capability

Wise Platform API — card-sensitive-details

Wise Platform API — card-sensitive-details. 3 operations. Lead operation: Fetch RSA encryption key. Self-contained Naftiko capability covering one Wise business surface.

Run with Naftiko Wisecard-sensitive-details

What You Can Do

GET
Cardencryptionkeyget — Fetch RSA encryption key
/v1/twcard-data/v1/clientsideencryption/fetchencryptingkey
POST
Cardsensitivedetailsget — Get sensitive card details
/v1/twcard-data/v1/sensitive-card-data/details
POST
Cardpinget — Get card PIN
/v1/twcard-data/v1/sensitive-card-data/pin

MCP Tools

fetch-rsa-encryption-key

Fetch RSA encryption key

read-only idempotent
get-sensitive-card-details

Get sensitive card details

read-only
get-card-pin

Get card PIN

read-only

Capability Spec

platform-card-sensitive-details.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Wise Platform API — card-sensitive-details
  description: 'Wise Platform API — card-sensitive-details. 3 operations. Lead operation: Fetch RSA encryption key. Self-contained
    Naftiko capability covering one Wise business surface.'
  tags:
  - Wise
  - card-sensitive-details
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WISE_API_KEY: WISE_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-card-sensitive-details
    baseUri: https://api.wise.com
    description: Wise Platform API — card-sensitive-details business capability. Self-contained, no shared references.
    resources:
    - name: twcard-data-v1-clientSideEncryption-fetchEncryptingKey
      path: /twcard-data/v1/clientSideEncryption/fetchEncryptingKey
      operations:
      - name: cardencryptionkeyget
        method: GET
        description: Fetch RSA encryption key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: twcard-data-v1-sensitive-card-data-details
      path: /twcard-data/v1/sensitive-card-data/details
      operations:
      - name: cardsensitivedetailsget
        method: POST
        description: Get sensitive card details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-tw-twcard-card-token
          in: header
          type: string
          description: The card token identifying which card to retrieve details for.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: twcard-data-v1-sensitive-card-data-pin
      path: /twcard-data/v1/sensitive-card-data/pin
      operations:
      - name: cardpinget
        method: POST
        description: Get card PIN
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: x-tw-twcard-card-token
          in: header
          type: string
          description: The card token identifying which card to retrieve the PIN for.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WISE_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-card-sensitive-details-rest
    port: 8080
    description: REST adapter for Wise Platform API — card-sensitive-details. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/twcard-data/v1/clientsideencryption/fetchencryptingkey
      name: twcard-data-v1-clientsideencryption-fetchencryptingkey
      description: REST surface for twcard-data-v1-clientSideEncryption-fetchEncryptingKey.
      operations:
      - method: GET
        name: cardencryptionkeyget
        description: Fetch RSA encryption key
        call: platform-card-sensitive-details.cardencryptionkeyget
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/twcard-data/v1/sensitive-card-data/details
      name: twcard-data-v1-sensitive-card-data-details
      description: REST surface for twcard-data-v1-sensitive-card-data-details.
      operations:
      - method: POST
        name: cardsensitivedetailsget
        description: Get sensitive card details
        call: platform-card-sensitive-details.cardsensitivedetailsget
        with:
          x-tw-twcard-card-token: rest.x-tw-twcard-card-token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/twcard-data/v1/sensitive-card-data/pin
      name: twcard-data-v1-sensitive-card-data-pin
      description: REST surface for twcard-data-v1-sensitive-card-data-pin.
      operations:
      - method: POST
        name: cardpinget
        description: Get card PIN
        call: platform-card-sensitive-details.cardpinget
        with:
          x-tw-twcard-card-token: rest.x-tw-twcard-card-token
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-card-sensitive-details-mcp
    port: 9090
    transport: http
    description: MCP adapter for Wise Platform API — card-sensitive-details. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: fetch-rsa-encryption-key
      description: Fetch RSA encryption key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-card-sensitive-details.cardencryptionkeyget
      outputParameters:
      - type: object
        mapping: $.
    - name: get-sensitive-card-details
      description: Get sensitive card details
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: platform-card-sensitive-details.cardsensitivedetailsget
      with:
        x-tw-twcard-card-token: tools.x-tw-twcard-card-token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-card-pin
      description: Get card PIN
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: platform-card-sensitive-details.cardpinget
      with:
        x-tw-twcard-card-token: tools.x-tw-twcard-card-token
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.