Wise · Capability

Wise Platform API — card-transaction

Wise Platform API — card-transaction. 3 operations. Lead operation: Get card transaction (V3). Self-contained Naftiko capability covering one Wise business surface.

Run with Naftiko Wisecard-transaction

What You Can Do

GET
Cardtransactiongetv3 — Get card transaction (V3)
/v1/v3/spend/profiles/{profileid}/cards/transactions/{transactionid}
GET
Cardtransactionget — Get card transaction
/v1/v4/spend/profiles/{profileid}/cards/transactions/{transactionid}
GET
Cardtransactionlist — List card transactions
/v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/transactions

MCP Tools

get-card-transaction-v3

Get card transaction (V3)

read-only idempotent
get-card-transaction

Get card transaction

read-only idempotent
list-card-transactions

List card transactions

read-only idempotent

Capability Spec

platform-card-transaction.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Wise Platform API — card-transaction
  description: 'Wise Platform API — card-transaction. 3 operations. Lead operation: Get card transaction (V3). Self-contained
    Naftiko capability covering one Wise business surface.'
  tags:
  - Wise
  - card-transaction
  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-transaction
    baseUri: https://api.wise.com
    description: Wise Platform API — card-transaction business capability. Self-contained, no shared references.
    resources:
    - name: v3-spend-profiles-profileId-cards-transactions-transactionId
      path: /v3/spend/profiles/{profileId}/cards/transactions/{transactionId}
      operations:
      - name: cardtransactiongetv3
        method: GET
        description: Get card transaction (V3)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The ID of the profile that owns the card.
          required: true
        - name: transactionId
          in: path
          type: string
          description: The ID of the transaction.
          required: true
    - name: v4-spend-profiles-profileId-cards-transactions-transactionId
      path: /v4/spend/profiles/{profileId}/cards/transactions/{transactionId}
      operations:
      - name: cardtransactionget
        method: GET
        description: Get card transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The ID of the profile that owns the card.
          required: true
        - name: transactionId
          in: path
          type: integer
          description: The ID of the transaction.
          required: true
    - name: v4-spend-profiles-profileId-cards-cardToken-transactions
      path: /v4/spend/profiles/{profileId}/cards/{cardToken}/transactions
      operations:
      - name: cardtransactionlist
        method: GET
        description: List card transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The ID of the profile that owns the card.
          required: true
        - name: cardToken
          in: path
          type: string
          description: The unique token identifying the card.
          required: true
        - name: fromCreationTime
          in: query
          type: string
          description: Start of range for transaction creation time in UTC, in ISO-8601 format.
          required: true
        - name: toCreationTime
          in: query
          type: string
          description: End of range for transaction creation time in UTC, in ISO-8601 format.
          required: true
        - name: pageSize
          in: query
          type: integer
          description: Page size of query between 10 and 100 inclusive, defaults to 20.
        - name: lastId
          in: query
          type: integer
          description: 'A pagination cursor that marks your position in the list. Include the ID of the last transaction from
            the previous page to retrieve the next page (transactions '
    authentication:
      type: bearer
      token: '{{env.WISE_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-card-transaction-rest
    port: 8080
    description: REST adapter for Wise Platform API — card-transaction. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/spend/profiles/{profileid}/cards/transactions/{transactionid}
      name: v3-spend-profiles-profileid-cards-transactions-transactionid
      description: REST surface for v3-spend-profiles-profileId-cards-transactions-transactionId.
      operations:
      - method: GET
        name: cardtransactiongetv3
        description: Get card transaction (V3)
        call: platform-card-transaction.cardtransactiongetv3
        with:
          profileId: rest.profileId
          transactionId: rest.transactionId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spend/profiles/{profileid}/cards/transactions/{transactionid}
      name: v4-spend-profiles-profileid-cards-transactions-transactionid
      description: REST surface for v4-spend-profiles-profileId-cards-transactions-transactionId.
      operations:
      - method: GET
        name: cardtransactionget
        description: Get card transaction
        call: platform-card-transaction.cardtransactionget
        with:
          profileId: rest.profileId
          transactionId: rest.transactionId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/transactions
      name: v4-spend-profiles-profileid-cards-cardtoken-transactions
      description: REST surface for v4-spend-profiles-profileId-cards-cardToken-transactions.
      operations:
      - method: GET
        name: cardtransactionlist
        description: List card transactions
        call: platform-card-transaction.cardtransactionlist
        with:
          profileId: rest.profileId
          cardToken: rest.cardToken
          fromCreationTime: rest.fromCreationTime
          toCreationTime: rest.toCreationTime
          pageSize: rest.pageSize
          lastId: rest.lastId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-card-transaction-mcp
    port: 9090
    transport: http
    description: MCP adapter for Wise Platform API — card-transaction. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-card-transaction-v3
      description: Get card transaction (V3)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-card-transaction.cardtransactiongetv3
      with:
        profileId: tools.profileId
        transactionId: tools.transactionId
      outputParameters:
      - type: object
        mapping: $.
    - name: get-card-transaction
      description: Get card transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-card-transaction.cardtransactionget
      with:
        profileId: tools.profileId
        transactionId: tools.transactionId
      outputParameters:
      - type: object
        mapping: $.
    - name: list-card-transactions
      description: List card transactions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-card-transaction.cardtransactionlist
      with:
        profileId: tools.profileId
        cardToken: tools.cardToken
        fromCreationTime: tools.fromCreationTime
        toCreationTime: tools.toCreationTime
        pageSize: tools.pageSize
        lastId: tools.lastId
      outputParameters:
      - type: object
        mapping: $.