Wise · Capability

Wise Platform API — spend-limits

Wise Platform API — spend-limits. 6 operations. Lead operation: Retrieve profile spend limits. Self-contained Naftiko capability covering one Wise business surface.

Run with Naftiko Wisespend-limits

What You Can Do

GET
Spendcontrolsprofilelimitsget — Retrieve profile spend limits
/v1/v3/spend/profiles/{profileid}/spending-limits
GET
Spendlimitscardget — Retrieve card limits
/v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/spend-limits
PATCH
Spendlimitscardupdate — Create or update card limits
/v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/spend-limits
DELETE
Spendlimitscarddelete — Delete card limits
/v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/spend-limits/{granularity}
GET
Spendlimitsprofileget — Retrieve profile limits
/v1/v4/spend/profiles/{profileid}/spend-limits
PATCH
Spendlimitsprofileupdate — Update profile limits
/v1/v4/spend/profiles/{profileid}/spend-limits

MCP Tools

retrieve-profile-spend-limits

Retrieve profile spend limits

read-only idempotent
retrieve-card-limits

Retrieve card limits

read-only idempotent
create-update-card-limits

Create or update card limits

idempotent
delete-card-limits

Delete card limits

idempotent
retrieve-profile-limits

Retrieve profile limits

read-only idempotent
update-profile-limits

Update profile limits

idempotent

Capability Spec

platform-spend-limits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Wise Platform API — spend-limits
  description: 'Wise Platform API — spend-limits. 6 operations. Lead operation: Retrieve profile spend limits. Self-contained
    Naftiko capability covering one Wise business surface.'
  tags:
  - Wise
  - spend-limits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WISE_API_KEY: WISE_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-spend-limits
    baseUri: https://api.wise.com
    description: Wise Platform API — spend-limits business capability. Self-contained, no shared references.
    resources:
    - name: v3-spend-profiles-profileId-spending-limits
      path: /v3/spend/profiles/{profileId}/spending-limits
      operations:
      - name: spendcontrolsprofilelimitsget
        method: GET
        description: Retrieve profile spend limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The profile ID.
          required: true
    - name: v4-spend-profiles-profileId-cards-cardToken-spend-limits
      path: /v4/spend/profiles/{profileId}/cards/{cardToken}/spend-limits
      operations:
      - name: spendlimitscardget
        method: GET
        description: Retrieve card limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The profile ID.
          required: true
        - name: cardToken
          in: path
          type: string
          description: The card token.
          required: true
      - name: spendlimitscardupdate
        method: PATCH
        description: Create or update card limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The profile ID.
          required: true
        - name: cardToken
          in: path
          type: string
          description: The card token.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v4-spend-profiles-profileId-cards-cardToken-spend-limits-granularity
      path: /v4/spend/profiles/{profileId}/cards/{cardToken}/spend-limits/{granularity}
      operations:
      - name: spendlimitscarddelete
        method: DELETE
        description: Delete card limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The profile ID.
          required: true
        - name: cardToken
          in: path
          type: string
          description: The card token.
          required: true
        - name: granularity
          in: path
          type: string
          description: The limit granularity to delete.
          required: true
    - name: v4-spend-profiles-profileId-spend-limits
      path: /v4/spend/profiles/{profileId}/spend-limits
      operations:
      - name: spendlimitsprofileget
        method: GET
        description: Retrieve profile limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The profile ID.
          required: true
      - name: spendlimitsprofileupdate
        method: PATCH
        description: Update profile limits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: profileId
          in: path
          type: integer
          description: The profile ID.
          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-spend-limits-rest
    port: 8080
    description: REST adapter for Wise Platform API — spend-limits. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v3/spend/profiles/{profileid}/spending-limits
      name: v3-spend-profiles-profileid-spending-limits
      description: REST surface for v3-spend-profiles-profileId-spending-limits.
      operations:
      - method: GET
        name: spendcontrolsprofilelimitsget
        description: Retrieve profile spend limits
        call: platform-spend-limits.spendcontrolsprofilelimitsget
        with:
          profileId: rest.profileId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/spend-limits
      name: v4-spend-profiles-profileid-cards-cardtoken-spend-limits
      description: REST surface for v4-spend-profiles-profileId-cards-cardToken-spend-limits.
      operations:
      - method: GET
        name: spendlimitscardget
        description: Retrieve card limits
        call: platform-spend-limits.spendlimitscardget
        with:
          profileId: rest.profileId
          cardToken: rest.cardToken
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: spendlimitscardupdate
        description: Create or update card limits
        call: platform-spend-limits.spendlimitscardupdate
        with:
          profileId: rest.profileId
          cardToken: rest.cardToken
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spend/profiles/{profileid}/cards/{cardtoken}/spend-limits/{granularity}
      name: v4-spend-profiles-profileid-cards-cardtoken-spend-limits-granularity
      description: REST surface for v4-spend-profiles-profileId-cards-cardToken-spend-limits-granularity.
      operations:
      - method: DELETE
        name: spendlimitscarddelete
        description: Delete card limits
        call: platform-spend-limits.spendlimitscarddelete
        with:
          profileId: rest.profileId
          cardToken: rest.cardToken
          granularity: rest.granularity
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v4/spend/profiles/{profileid}/spend-limits
      name: v4-spend-profiles-profileid-spend-limits
      description: REST surface for v4-spend-profiles-profileId-spend-limits.
      operations:
      - method: GET
        name: spendlimitsprofileget
        description: Retrieve profile limits
        call: platform-spend-limits.spendlimitsprofileget
        with:
          profileId: rest.profileId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: spendlimitsprofileupdate
        description: Update profile limits
        call: platform-spend-limits.spendlimitsprofileupdate
        with:
          profileId: rest.profileId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-spend-limits-mcp
    port: 9090
    transport: http
    description: MCP adapter for Wise Platform API — spend-limits. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-profile-spend-limits
      description: Retrieve profile spend limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-spend-limits.spendcontrolsprofilelimitsget
      with:
        profileId: tools.profileId
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-card-limits
      description: Retrieve card limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-spend-limits.spendlimitscardget
      with:
        profileId: tools.profileId
        cardToken: tools.cardToken
      outputParameters:
      - type: object
        mapping: $.
    - name: create-update-card-limits
      description: Create or update card limits
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: platform-spend-limits.spendlimitscardupdate
      with:
        profileId: tools.profileId
        cardToken: tools.cardToken
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-card-limits
      description: Delete card limits
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: platform-spend-limits.spendlimitscarddelete
      with:
        profileId: tools.profileId
        cardToken: tools.cardToken
        granularity: tools.granularity
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-profile-limits
      description: Retrieve profile limits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-spend-limits.spendlimitsprofileget
      with:
        profileId: tools.profileId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-profile-limits
      description: Update profile limits
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: platform-spend-limits.spendlimitsprofileupdate
      with:
        profileId: tools.profileId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.