naftiko: 1.0.0-alpha2 info: label: Majesco Insurance Policy Administration API — Billing description: 'Majesco Insurance Policy Administration API — Billing. 2 operations. Lead operation: List billing accounts. Self-contained Naftiko capability covering one Majesco business surface.' tags: - Majesco - Billing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MAJESCO_API_KEY: MAJESCO_API_KEY capability: consumes: - type: http namespace: policy-billing baseUri: https://api.majesco.example.com/v1 description: Majesco Insurance Policy Administration API — Billing business capability. Self-contained, no shared references. resources: - name: billing-accounts path: /billing/accounts operations: - name: listbillingaccounts method: GET description: List billing accounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyNumber in: query type: string - name: pageSize in: query type: integer - name: billing-accounts-accountId-payments path: /billing/accounts/{accountId}/payments operations: - name: recordpayment method: POST description: Record a payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: accountId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.MAJESCO_API_KEY}}' exposes: - type: rest namespace: policy-billing-rest port: 8080 description: REST adapter for Majesco Insurance Policy Administration API — Billing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/billing/accounts name: billing-accounts description: REST surface for billing-accounts. operations: - method: GET name: listbillingaccounts description: List billing accounts call: policy-billing.listbillingaccounts with: policyNumber: rest.policyNumber pageSize: rest.pageSize outputParameters: - type: object mapping: $. - path: /v1/billing/accounts/{accountid}/payments name: billing-accounts-accountid-payments description: REST surface for billing-accounts-accountId-payments. operations: - method: POST name: recordpayment description: Record a payment call: policy-billing.recordpayment with: accountId: rest.accountId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: policy-billing-mcp port: 9090 transport: http description: MCP adapter for Majesco Insurance Policy Administration API — Billing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-billing-accounts description: List billing accounts hints: readOnly: true destructive: false idempotent: true call: policy-billing.listbillingaccounts with: policyNumber: tools.policyNumber pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: record-payment description: Record a payment hints: readOnly: false destructive: false idempotent: false call: policy-billing.recordpayment with: accountId: tools.accountId body: tools.body outputParameters: - type: object mapping: $.