naftiko: 1.0.0-alpha2 info: label: Figma Payments API — Payments description: 'Figma Payments API — Payments. 1 operations. Lead operation: Figma Get Payments. Self-contained Naftiko capability covering one Figma business surface.' tags: - Figma - Payments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FIGMA_API_KEY: FIGMA_API_KEY capability: consumes: - type: http namespace: payments-payments baseUri: https://api.figma.com description: Figma Payments API — Payments business capability. Self-contained, no shared references. resources: - name: v1-payments path: /v1/payments operations: - name: getpayments method: GET description: Figma Get Payments outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.FIGMA_API_KEY}}' exposes: - type: rest namespace: payments-payments-rest port: 8080 description: REST adapter for Figma Payments API — Payments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/payments name: v1-payments description: REST surface for v1-payments. operations: - method: GET name: getpayments description: Figma Get Payments call: payments-payments.getpayments outputParameters: - type: object mapping: $. - type: mcp namespace: payments-payments-mcp port: 9090 transport: http description: MCP adapter for Figma Payments API — Payments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: figma-get-payments description: Figma Get Payments hints: readOnly: true destructive: false idempotent: true call: payments-payments.getpayments outputParameters: - type: object mapping: $.