naftiko: 1.0.0-alpha2 info: label: Decentro Payments API — Collections description: 'Decentro Payments API — Collections. 2 operations. Lead operation: Generate UPI collection link. Self-contained Naftiko capability covering one Decentro business surface.' tags: - Decentro - Collections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DECENTRO_API_KEY: DECENTRO_API_KEY capability: consumes: - type: http namespace: payments-collections baseUri: https://in.decentro.tech description: Decentro Payments API — Collections business capability. Self-contained, no shared references. resources: - name: v2-payments-upi-link path: /v2/payments/upi/link operations: - name: generateupilink method: POST description: Generate UPI collection link outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-payments-upi-qr path: /v2/payments/upi/qr operations: - name: generateupiqr method: POST description: Generate dynamic UPI QR outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: client_secret value: '{{env.DECENTRO_API_KEY}}' placement: header exposes: - type: rest namespace: payments-collections-rest port: 8080 description: REST adapter for Decentro Payments API — Collections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/payments/upi/link name: v2-payments-upi-link description: REST surface for v2-payments-upi-link. operations: - method: POST name: generateupilink description: Generate UPI collection link call: payments-collections.generateupilink outputParameters: - type: object mapping: $. - path: /v1/v2/payments/upi/qr name: v2-payments-upi-qr description: REST surface for v2-payments-upi-qr. operations: - method: POST name: generateupiqr description: Generate dynamic UPI QR call: payments-collections.generateupiqr outputParameters: - type: object mapping: $. - type: mcp namespace: payments-collections-mcp port: 9090 transport: http description: MCP adapter for Decentro Payments API — Collections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: generate-upi-collection-link description: Generate UPI collection link hints: readOnly: false destructive: false idempotent: false call: payments-collections.generateupilink outputParameters: - type: object mapping: $. - name: generate-dynamic-upi-qr description: Generate dynamic UPI QR hints: readOnly: false destructive: false idempotent: false call: payments-collections.generateupiqr outputParameters: - type: object mapping: $.