naftiko: 1.0.0-alpha2 info: label: Lemon Squeezy API — Webhooks description: 'Lemon Squeezy API — Webhooks. 5 operations. Lead operation: Lemon Squeezy List all webhooks. Self-contained Naftiko capability covering one Lemon Squeezy business surface.' tags: - Lemon Squeezy - Webhooks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEMON_SQUEEZY_API_KEY: LEMON_SQUEEZY_API_KEY capability: consumes: - type: http namespace: lemon-squeezy-webhooks baseUri: https://api.lemonsqueezy.com description: Lemon Squeezy API — Webhooks business capability. Self-contained, no shared references. resources: - name: v1-webhooks path: /v1/webhooks operations: - name: get method: GET description: Lemon Squeezy List all webhooks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Lemon Squeezy Create a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v1-webhooks-1 path: /v1/webhooks/1 operations: - name: get method: GET description: Lemon Squeezy Retrieve a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patch method: PATCH description: Lemon Squeezy Update a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: delete method: DELETE description: Lemon Squeezy Delete a webhook outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LEMON_SQUEEZY_API_KEY}}' exposes: - type: rest namespace: lemon-squeezy-webhooks-rest port: 8080 description: REST adapter for Lemon Squeezy API — Webhooks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/webhooks name: v1-webhooks description: REST surface for v1-webhooks. operations: - method: GET name: get description: Lemon Squeezy List all webhooks call: lemon-squeezy-webhooks.get outputParameters: - type: object mapping: $. - method: POST name: post description: Lemon Squeezy Create a webhook call: lemon-squeezy-webhooks.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/webhooks/1 name: v1-webhooks-1 description: REST surface for v1-webhooks-1. operations: - method: GET name: get description: Lemon Squeezy Retrieve a webhook call: lemon-squeezy-webhooks.get outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Lemon Squeezy Update a webhook call: lemon-squeezy-webhooks.patch with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Lemon Squeezy Delete a webhook call: lemon-squeezy-webhooks.delete outputParameters: - type: object mapping: $. - type: mcp namespace: lemon-squeezy-webhooks-mcp port: 9090 transport: http description: MCP adapter for Lemon Squeezy API — Webhooks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lemon-squeezy-list-all-webhooks description: Lemon Squeezy List all webhooks hints: readOnly: true destructive: false idempotent: true call: lemon-squeezy-webhooks.get outputParameters: - type: object mapping: $. - name: lemon-squeezy-create-webhook description: Lemon Squeezy Create a webhook hints: readOnly: false destructive: false idempotent: false call: lemon-squeezy-webhooks.post with: body: tools.body outputParameters: - type: object mapping: $. - name: lemon-squeezy-retrieve-webhook description: Lemon Squeezy Retrieve a webhook hints: readOnly: true destructive: false idempotent: true call: lemon-squeezy-webhooks.get outputParameters: - type: object mapping: $. - name: lemon-squeezy-update-webhook description: Lemon Squeezy Update a webhook hints: readOnly: false destructive: false idempotent: true call: lemon-squeezy-webhooks.patch with: body: tools.body outputParameters: - type: object mapping: $. - name: lemon-squeezy-delete-webhook description: Lemon Squeezy Delete a webhook hints: readOnly: false destructive: true idempotent: true call: lemon-squeezy-webhooks.delete outputParameters: - type: object mapping: $.