naftiko: 1.0.0-alpha2 info: label: 7digital API — Payment description: '7digital API — Payment. 2 operations. Lead operation: 7digital Get Payment Card Types. Self-contained Naftiko capability covering one 7digital / MassiveMusic business surface.' tags: - 7digital / MassiveMusic - Music - Payment created: '2026-05-28' modified: '2026-05-28' binds: - namespace: env keys: SEVENDIGITAL_CONSUMER_KEY: SEVENDIGITAL_CONSUMER_KEY SEVENDIGITAL_CONSUMER_SECRET: SEVENDIGITAL_CONSUMER_SECRET capability: consumes: - type: http namespace: api-payment baseUri: https://api.7digital.com/1.2 description: 7digital API — Payment business capability. Self-contained, no shared references. authentication: type: apikey key: oauth_consumer_key value: '{{env.SEVENDIGITAL_CONSUMER_KEY}}' placement: query resources: - name: payment-card-type path: /payment/card/type operations: - name: getPaymentCardTypes method: GET description: 7digital Get Payment Card Types inputParameters: [] outputRawFormat: json outputParameters: - name: result type: object value: $. - name: payment-voucher-details path: /payment/voucher/details operations: - name: getPaymentVoucherDetails method: GET description: 7digital Get Payment Voucher Details inputParameters: - name: voucherCode in: query type: string required: true description: Voucher code to look up. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: api-payment-rest port: 8080 description: REST adapter for 7digital API — Payment. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/payment/card/type name: payment-card-type description: REST surface for payment-card-type. operations: - method: GET name: getPaymentCardTypes description: 7digital Get Payment Card Types call: api-payment.getPaymentCardTypes with: {} outputParameters: - type: object mapping: $. - path: /v1/payment/voucher/details name: payment-voucher-details description: REST surface for payment-voucher-details. operations: - method: GET name: getPaymentVoucherDetails description: 7digital Get Payment Voucher Details call: api-payment.getPaymentVoucherDetails with: voucherCode: rest.voucherCode outputParameters: - type: object mapping: $. - type: mcp namespace: api-payment-mcp port: 9090 transport: http description: MCP adapter for 7digital API — Payment. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-payment-card-types description: 7digital Get Payment Card Types hints: readOnly: true destructive: false idempotent: true call: api-payment.getPaymentCardTypes with: {} outputParameters: - type: object mapping: $. - name: get-payment-voucher-details description: 7digital Get Payment Voucher Details hints: readOnly: true destructive: false idempotent: true call: api-payment.getPaymentVoucherDetails with: voucherCode: tools.voucherCode outputParameters: - type: object mapping: $.