Wise · Capability

Wise Platform API — oauth-token

Wise Platform API — oauth-token. 1 operations. Lead operation: Create an OAuth token. Self-contained Naftiko capability covering one Wise business surface.

Run with Naftiko Wiseoauth-token

What You Can Do

POST
Oauthtokencreate — Create an OAuth token
/v1/oauth/token

MCP Tools

create-oauth-token

Create an OAuth token

Capability Spec

platform-oauth-token.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Wise Platform API — oauth-token
  description: 'Wise Platform API — oauth-token. 1 operations. Lead operation: Create an OAuth token. Self-contained Naftiko
    capability covering one Wise business surface.'
  tags:
  - Wise
  - oauth-token
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WISE_API_KEY: WISE_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-oauth-token
    baseUri: https://api.wise.com
    description: Wise Platform API — oauth-token business capability. Self-contained, no shared references.
    resources:
    - name: oauth-token
      path: /oauth/token
      operations:
      - name: oauthtokencreate
        method: POST
        description: Create an OAuth token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-oauth-token-rest
    port: 8080
    description: REST adapter for Wise Platform API — oauth-token. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/oauth/token
      name: oauth-token
      description: REST surface for oauth-token.
      operations:
      - method: POST
        name: oauthtokencreate
        description: Create an OAuth token
        call: platform-oauth-token.oauthtokencreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-oauth-token-mcp
    port: 9090
    transport: http
    description: MCP adapter for Wise Platform API — oauth-token. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: create-oauth-token
      description: Create an OAuth token
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-oauth-token.oauthtokencreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.