naftiko: 1.0.0-alpha2 info: label: Roku Pay Web Services — Subscription description: 'Roku Pay Web Services — Subscription. 2 operations. Lead operation: Roku Cancel Subscription. Self-contained Naftiko capability covering one Roku business surface.' tags: - Roku - Subscription created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ROKU_API_KEY: ROKU_API_KEY capability: consumes: - type: http namespace: pay-web-services-subscription baseUri: https://apipub.roku.com/listen/transaction-service.svc description: Roku Pay Web Services — Subscription business capability. Self-contained, no shared references. resources: - name: cancel-subscription path: /cancel-subscription operations: - name: cancelsubscription method: POST description: Roku Cancel Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: refund-subscription path: /refund-subscription operations: - name: refundsubscription method: POST description: Roku Refund Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: partnerAPIKey value: '{{env.ROKU_API_KEY}}' placement: query exposes: - type: rest namespace: pay-web-services-subscription-rest port: 8080 description: REST adapter for Roku Pay Web Services — Subscription. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cancel-subscription name: cancel-subscription description: REST surface for cancel-subscription. operations: - method: POST name: cancelsubscription description: Roku Cancel Subscription call: pay-web-services-subscription.cancelsubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/refund-subscription name: refund-subscription description: REST surface for refund-subscription. operations: - method: POST name: refundsubscription description: Roku Refund Subscription call: pay-web-services-subscription.refundsubscription with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: pay-web-services-subscription-mcp port: 9090 transport: http description: MCP adapter for Roku Pay Web Services — Subscription. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: roku-cancel-subscription description: Roku Cancel Subscription hints: readOnly: false destructive: false idempotent: false call: pay-web-services-subscription.cancelsubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: roku-refund-subscription description: Roku Refund Subscription hints: readOnly: false destructive: false idempotent: false call: pay-web-services-subscription.refundsubscription with: body: tools.body outputParameters: - type: object mapping: $.