naftiko: 1.0.0-alpha2 info: label: Plaid link/ — Plaid description: 'Plaid link/ — Plaid. 4 operations. Lead operation: Plaid Exchange the Link Correlation Id for a Link Token. Self-contained Naftiko capability covering one Plaid business surface.' tags: - Plaid created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PLAID_API_KEY: PLAID_API_KEY capability: consumes: - type: http namespace: link--plaid baseUri: https://production.plaid.com description: Plaid link/ — Plaid business capability. Self-contained, no shared references. resources: - name: link-oauth-correlation_id-exchange path: /link/oauth/correlation_id/exchange operations: - name: linkoauthcorrelationidexchange method: POST description: Plaid Exchange the Link Correlation Id for a Link Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: link-profile-eligibility-check path: /link/profile/eligibility/check operations: - name: linkprofileeligibilitycheck method: POST description: Plaid Check profile eligibility outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: link-token-create path: /link/token/create operations: - name: linktokencreate method: POST description: Plaid Create Link Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: link-token-get path: /link/token/get operations: - name: linktokenget method: POST description: Plaid Get Link Token outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: link--plaid-rest port: 8080 description: REST adapter for Plaid link/ — Plaid. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/link/oauth/correlation-id/exchange name: link-oauth-correlation-id-exchange description: REST surface for link-oauth-correlation_id-exchange. operations: - method: POST name: linkoauthcorrelationidexchange description: Plaid Exchange the Link Correlation Id for a Link Token call: link--plaid.linkoauthcorrelationidexchange with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/link/profile/eligibility/check name: link-profile-eligibility-check description: REST surface for link-profile-eligibility-check. operations: - method: POST name: linkprofileeligibilitycheck description: Plaid Check profile eligibility call: link--plaid.linkprofileeligibilitycheck with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/link/token/create name: link-token-create description: REST surface for link-token-create. operations: - method: POST name: linktokencreate description: Plaid Create Link Token call: link--plaid.linktokencreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/link/token/get name: link-token-get description: REST surface for link-token-get. operations: - method: POST name: linktokenget description: Plaid Get Link Token call: link--plaid.linktokenget with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: link--plaid-mcp port: 9090 transport: http description: MCP adapter for Plaid link/ — Plaid. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: plaid-exchange-link-correlation-id description: Plaid Exchange the Link Correlation Id for a Link Token hints: readOnly: false destructive: false idempotent: false call: link--plaid.linkoauthcorrelationidexchange with: body: tools.body outputParameters: - type: object mapping: $. - name: plaid-check-profile-eligibility description: Plaid Check profile eligibility hints: readOnly: true destructive: false idempotent: false call: link--plaid.linkprofileeligibilitycheck with: body: tools.body outputParameters: - type: object mapping: $. - name: plaid-create-link-token description: Plaid Create Link Token hints: readOnly: false destructive: false idempotent: false call: link--plaid.linktokencreate with: body: tools.body outputParameters: - type: object mapping: $. - name: plaid-get-link-token description: Plaid Get Link Token hints: readOnly: true destructive: false idempotent: false call: link--plaid.linktokenget with: body: tools.body outputParameters: - type: object mapping: $.