naftiko: 1.0.0-alpha2 info: label: SingularityNET Marketplace API — Channels description: 'SingularityNET Marketplace API — Channels. 3 operations. Lead operation: Open Payment Channel. Self-contained Naftiko capability covering one Singularity Net business surface.' tags: - Singularity Net - Channels created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SINGULARITY_NET_API_KEY: SINGULARITY_NET_API_KEY capability: consumes: - type: http namespace: singularitynet-marketplace-channels baseUri: https://marketplace-mt-v2.singularitynet.io description: SingularityNET Marketplace API — Channels business capability. Self-contained, no shared references. resources: - name: channel-open path: /channel/open operations: - name: openpaymentchannel method: POST description: Open Payment Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: channel-channel_id path: /channel/{channel_id} operations: - name: getchannel method: GET description: Get Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channel_id in: path type: string description: Payment channel identifier required: true - name: channel-channel_id-extend path: /channel/{channel_id}/extend operations: - name: extendchannel method: POST description: Extend Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channel_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: singularitynet-marketplace-channels-rest port: 8080 description: REST adapter for SingularityNET Marketplace API — Channels. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/channel/open name: channel-open description: REST surface for channel-open. operations: - method: POST name: openpaymentchannel description: Open Payment Channel call: singularitynet-marketplace-channels.openpaymentchannel with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/channel/{channel-id} name: channel-channel-id description: REST surface for channel-channel_id. operations: - method: GET name: getchannel description: Get Channel call: singularitynet-marketplace-channels.getchannel with: channel_id: rest.channel_id outputParameters: - type: object mapping: $. - path: /v1/channel/{channel-id}/extend name: channel-channel-id-extend description: REST surface for channel-channel_id-extend. operations: - method: POST name: extendchannel description: Extend Channel call: singularitynet-marketplace-channels.extendchannel with: channel_id: rest.channel_id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: singularitynet-marketplace-channels-mcp port: 9090 transport: http description: MCP adapter for SingularityNET Marketplace API — Channels. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: open-payment-channel description: Open Payment Channel hints: readOnly: false destructive: false idempotent: false call: singularitynet-marketplace-channels.openpaymentchannel with: body: tools.body outputParameters: - type: object mapping: $. - name: get-channel description: Get Channel hints: readOnly: true destructive: false idempotent: true call: singularitynet-marketplace-channels.getchannel with: channel_id: tools.channel_id outputParameters: - type: object mapping: $. - name: extend-channel description: Extend Channel hints: readOnly: false destructive: false idempotent: false call: singularitynet-marketplace-channels.extendchannel with: channel_id: tools.channel_id body: tools.body outputParameters: - type: object mapping: $.