naftiko: 1.0.0-alpha2 info: label: Wise Platform API — sca-pin description: 'Wise Platform API — sca-pin. 4 operations. Lead operation: Verify PIN. Self-contained Naftiko capability covering one Wise business surface.' tags: - Wise - sca-pin created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WISE_API_KEY: WISE_API_KEY capability: consumes: - type: http namespace: platform-sca-pin baseUri: https://api.wise.com description: Wise Platform API — sca-pin business capability. Self-contained, no shared references. resources: - name: v1-one-time-token-pin-verify path: /v1/one-time-token/pin/verify operations: - name: ottpinverify method: POST description: Verify PIN outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: One-Time-Token in: header type: string description: Text value of a OTT. required: true - name: Accept in: header type: string required: true - name: X-TW-JOSE-Method in: header type: string description: JOSE method identifier. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v2-profiles-profileId-pin path: /v2/profiles/{profileId}/pin operations: - name: scapincreate method: POST description: Create a PIN outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The profile ID. required: true - name: Accept in: header type: string required: true - name: Accept-Encoding in: header type: string required: true - name: Content-Encoding in: header type: string required: true - name: X-tw-jose-method in: header type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: scapindelete method: DELETE description: Delete a PIN outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The profile ID. required: true - name: v2-profiles-profileId-pin-verify path: /v2/profiles/{profileId}/pin/verify operations: - name: scapinverify method: POST description: Verify a PIN outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: profileId in: path type: integer description: The profile ID. required: true - name: One-Time-Token in: header type: string description: A one-time token unique identifier. required: true - name: Accept in: header type: string required: true - name: Accept-Encoding in: header type: string required: true - name: Content-Encoding in: header type: string required: true - name: X-tw-jose-method in: header type: string 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-sca-pin-rest port: 8080 description: REST adapter for Wise Platform API — sca-pin. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/one-time-token/pin/verify name: v1-one-time-token-pin-verify description: REST surface for v1-one-time-token-pin-verify. operations: - method: POST name: ottpinverify description: Verify PIN call: platform-sca-pin.ottpinverify with: One-Time-Token: rest.One-Time-Token Accept: rest.Accept X-TW-JOSE-Method: rest.X-TW-JOSE-Method body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/profiles/{profileid}/pin name: v2-profiles-profileid-pin description: REST surface for v2-profiles-profileId-pin. operations: - method: POST name: scapincreate description: Create a PIN call: platform-sca-pin.scapincreate with: profileId: rest.profileId Accept: rest.Accept Accept-Encoding: rest.Accept-Encoding Content-Encoding: rest.Content-Encoding X-tw-jose-method: rest.X-tw-jose-method body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: scapindelete description: Delete a PIN call: platform-sca-pin.scapindelete with: profileId: rest.profileId outputParameters: - type: object mapping: $. - path: /v1/v2/profiles/{profileid}/pin/verify name: v2-profiles-profileid-pin-verify description: REST surface for v2-profiles-profileId-pin-verify. operations: - method: POST name: scapinverify description: Verify a PIN call: platform-sca-pin.scapinverify with: profileId: rest.profileId One-Time-Token: rest.One-Time-Token Accept: rest.Accept Accept-Encoding: rest.Accept-Encoding Content-Encoding: rest.Content-Encoding X-tw-jose-method: rest.X-tw-jose-method body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: platform-sca-pin-mcp port: 9090 transport: http description: MCP adapter for Wise Platform API — sca-pin. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: verify-pin description: Verify PIN hints: readOnly: false destructive: false idempotent: false call: platform-sca-pin.ottpinverify with: One-Time-Token: tools.One-Time-Token Accept: tools.Accept X-TW-JOSE-Method: tools.X-TW-JOSE-Method body: tools.body outputParameters: - type: object mapping: $. - name: create-pin description: Create a PIN hints: readOnly: false destructive: false idempotent: false call: platform-sca-pin.scapincreate with: profileId: tools.profileId Accept: tools.Accept Accept-Encoding: tools.Accept-Encoding Content-Encoding: tools.Content-Encoding X-tw-jose-method: tools.X-tw-jose-method body: tools.body outputParameters: - type: object mapping: $. - name: delete-pin description: Delete a PIN hints: readOnly: false destructive: true idempotent: true call: platform-sca-pin.scapindelete with: profileId: tools.profileId outputParameters: - type: object mapping: $. - name: verify-pin-2 description: Verify a PIN hints: readOnly: false destructive: false idempotent: false call: platform-sca-pin.scapinverify with: profileId: tools.profileId One-Time-Token: tools.One-Time-Token Accept: tools.Accept Accept-Encoding: tools.Accept-Encoding Content-Encoding: tools.Content-Encoding X-tw-jose-method: tools.X-tw-jose-method body: tools.body outputParameters: - type: object mapping: $.