naftiko: 1.0.0-alpha2 info: label: Subex Revenue Assurance & Fraud Management API — Fraud Management description: 'Subex Revenue Assurance & Fraud Management API — Fraud Management. 3 operations. Lead operation: List fraud cases. Self-contained Naftiko capability covering one Subex business surface.' tags: - Subex - Fraud Management created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUBEX_API_KEY: SUBEX_API_KEY capability: consumes: - type: http namespace: revenue-assurance-fraud-management baseUri: https://api.subex.example.com/roc/v1 description: Subex Revenue Assurance & Fraud Management API — Fraud Management business capability. Self-contained, no shared references. resources: - name: fraud-cases path: /fraud/cases operations: - name: listfraudcases method: GET description: List fraud cases outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: fraudType in: query type: string - name: status in: query type: string - name: riskScore in: query type: integer description: Minimum risk score threshold (0-100) - name: startDate in: query type: string - name: endDate in: query type: string - name: page in: query type: integer - name: size in: query type: integer - name: fraud-cases-caseId path: /fraud/cases/{caseId} operations: - name: getfraudcase method: GET description: Get fraud case details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: caseId in: path type: string required: true - name: fraud-subscribers-msisdn-risk-score path: /fraud/subscribers/{msisdn}/risk-score operations: - name: getsubscriberriskscore method: GET description: Get subscriber risk score outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: msisdn in: path type: string description: Subscriber MSISDN (international format without +) required: true authentication: type: bearer token: '{{env.SUBEX_API_KEY}}' exposes: - type: rest namespace: revenue-assurance-fraud-management-rest port: 8080 description: REST adapter for Subex Revenue Assurance & Fraud Management API — Fraud Management. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/fraud/cases name: fraud-cases description: REST surface for fraud-cases. operations: - method: GET name: listfraudcases description: List fraud cases call: revenue-assurance-fraud-management.listfraudcases with: fraudType: rest.fraudType status: rest.status riskScore: rest.riskScore startDate: rest.startDate endDate: rest.endDate page: rest.page size: rest.size outputParameters: - type: object mapping: $. - path: /v1/fraud/cases/{caseid} name: fraud-cases-caseid description: REST surface for fraud-cases-caseId. operations: - method: GET name: getfraudcase description: Get fraud case details call: revenue-assurance-fraud-management.getfraudcase with: caseId: rest.caseId outputParameters: - type: object mapping: $. - path: /v1/fraud/subscribers/{msisdn}/risk-score name: fraud-subscribers-msisdn-risk-score description: REST surface for fraud-subscribers-msisdn-risk-score. operations: - method: GET name: getsubscriberriskscore description: Get subscriber risk score call: revenue-assurance-fraud-management.getsubscriberriskscore with: msisdn: rest.msisdn outputParameters: - type: object mapping: $. - type: mcp namespace: revenue-assurance-fraud-management-mcp port: 9090 transport: http description: MCP adapter for Subex Revenue Assurance & Fraud Management API — Fraud Management. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-fraud-cases description: List fraud cases hints: readOnly: true destructive: false idempotent: true call: revenue-assurance-fraud-management.listfraudcases with: fraudType: tools.fraudType status: tools.status riskScore: tools.riskScore startDate: tools.startDate endDate: tools.endDate page: tools.page size: tools.size outputParameters: - type: object mapping: $. - name: get-fraud-case-details description: Get fraud case details hints: readOnly: true destructive: false idempotent: true call: revenue-assurance-fraud-management.getfraudcase with: caseId: tools.caseId outputParameters: - type: object mapping: $. - name: get-subscriber-risk-score description: Get subscriber risk score hints: readOnly: true destructive: false idempotent: true call: revenue-assurance-fraud-management.getsubscriberriskscore with: msisdn: tools.msisdn outputParameters: - type: object mapping: $.