naftiko: 1.0.0-alpha2 info: label: Vantiv Chargeback API — Documents description: 'Vantiv Chargeback API — Documents. 3 operations. Lead operation: List Chargeback Documents. Self-contained Naftiko capability covering one Vantiv business surface.' tags: - Vantiv - Documents created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VANTIV_API_KEY: VANTIV_API_KEY capability: consumes: - type: http namespace: chargeback-documents baseUri: https://services.vantivprelive.com/services/chargebacks description: Vantiv Chargeback API — Documents business capability. Self-contained, no shared references. resources: - name: chargebacks-caseId-documents path: /chargebacks/{caseId}/documents operations: - name: listchargebackdocuments method: GET description: List Chargeback Documents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: caseId in: path type: integer description: Unique chargeback case identifier required: true - name: uploadchargebackdocument method: POST description: Upload Chargeback Document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: caseId in: path type: integer description: Unique chargeback case identifier required: true - name: body in: body type: object description: Request body (JSON). required: true - name: chargebacks-caseId-documents-documentId path: /chargebacks/{caseId}/documents/{documentId} operations: - name: deletechargebackdocument method: DELETE description: Delete Chargeback Document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: caseId in: path type: integer required: true - name: documentId in: path type: string description: Document identifier required: true authentication: type: basic username: '{{env.VANTIV_USER}}' password: '{{env.VANTIV_PASS}}' exposes: - type: rest namespace: chargeback-documents-rest port: 8080 description: REST adapter for Vantiv Chargeback API — Documents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/chargebacks/{caseid}/documents name: chargebacks-caseid-documents description: REST surface for chargebacks-caseId-documents. operations: - method: GET name: listchargebackdocuments description: List Chargeback Documents call: chargeback-documents.listchargebackdocuments with: caseId: rest.caseId outputParameters: - type: object mapping: $. - method: POST name: uploadchargebackdocument description: Upload Chargeback Document call: chargeback-documents.uploadchargebackdocument with: caseId: rest.caseId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/chargebacks/{caseid}/documents/{documentid} name: chargebacks-caseid-documents-documentid description: REST surface for chargebacks-caseId-documents-documentId. operations: - method: DELETE name: deletechargebackdocument description: Delete Chargeback Document call: chargeback-documents.deletechargebackdocument with: caseId: rest.caseId documentId: rest.documentId outputParameters: - type: object mapping: $. - type: mcp namespace: chargeback-documents-mcp port: 9090 transport: http description: MCP adapter for Vantiv Chargeback API — Documents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-chargeback-documents description: List Chargeback Documents hints: readOnly: true destructive: false idempotent: true call: chargeback-documents.listchargebackdocuments with: caseId: tools.caseId outputParameters: - type: object mapping: $. - name: upload-chargeback-document description: Upload Chargeback Document hints: readOnly: false destructive: false idempotent: false call: chargeback-documents.uploadchargebackdocument with: caseId: tools.caseId body: tools.body outputParameters: - type: object mapping: $. - name: delete-chargeback-document description: Delete Chargeback Document hints: readOnly: false destructive: true idempotent: true call: chargeback-documents.deletechargebackdocument with: caseId: tools.caseId documentId: tools.documentId outputParameters: - type: object mapping: $.