naftiko: 1.0.0-alpha2 info: label: Stripe Link API — Post description: 'Stripe Link API — Post. 3 operations. Lead operation: Stripe Post Link Account Sessions. Self-contained Naftiko capability covering one Stripe business surface.' tags: - Stripe - Post created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STRIPE_API_KEY: STRIPE_API_KEY capability: consumes: - type: http namespace: link-post baseUri: https://api.stripe.com description: Stripe Link API — Post business capability. Self-contained, no shared references. resources: - name: v1-link_account_sessions path: /v1/link_account_sessions operations: - name: postlinkaccountsessions method: POST description: Stripe Post Link Account Sessions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-linked_accounts-account-disconnect path: /v1/linked_accounts/{account}/disconnect operations: - name: postlinkedaccountsaccountdisconnect method: POST description: Stripe Post Linked Accounts Disconnect outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: account in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: v1-linked_accounts-account-refresh path: /v1/linked_accounts/{account}/refresh operations: - name: postlinkedaccountsaccountrefresh method: POST description: Stripe Post Linked Accounts Refresh outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: account in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.STRIPE_API_KEY}}' exposes: - type: rest namespace: link-post-rest port: 8080 description: REST adapter for Stripe Link API — Post. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/link-account-sessions name: v1-link-account-sessions description: REST surface for v1-link_account_sessions. operations: - method: POST name: postlinkaccountsessions description: Stripe Post Link Account Sessions call: link-post.postlinkaccountsessions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/linked-accounts/{account}/disconnect name: v1-linked-accounts-account-disconnect description: REST surface for v1-linked_accounts-account-disconnect. operations: - method: POST name: postlinkedaccountsaccountdisconnect description: Stripe Post Linked Accounts Disconnect call: link-post.postlinkedaccountsaccountdisconnect with: account: rest.account body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/linked-accounts/{account}/refresh name: v1-linked-accounts-account-refresh description: REST surface for v1-linked_accounts-account-refresh. operations: - method: POST name: postlinkedaccountsaccountrefresh description: Stripe Post Linked Accounts Refresh call: link-post.postlinkedaccountsaccountrefresh with: account: rest.account body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: link-post-mcp port: 9090 transport: http description: MCP adapter for Stripe Link API — Post. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: stripe-post-link-account-sessions description: Stripe Post Link Account Sessions hints: readOnly: false destructive: false idempotent: false call: link-post.postlinkaccountsessions with: body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-linked-accounts-disconnect description: Stripe Post Linked Accounts Disconnect hints: readOnly: false destructive: false idempotent: false call: link-post.postlinkedaccountsaccountdisconnect with: account: tools.account body: tools.body outputParameters: - type: object mapping: $. - name: stripe-post-linked-accounts-refresh description: Stripe Post Linked Accounts Refresh hints: readOnly: false destructive: false idempotent: false call: link-post.postlinkedaccountsaccountrefresh with: account: tools.account body: tools.body outputParameters: - type: object mapping: $.