naftiko: 1.0.0-alpha2 info: label: Lithic Developer API — Chargeback description: 'Lithic Developer API — Chargeback. 9 operations. Lead operation: List chargeback requests. Self-contained Naftiko capability covering one Lithic business surface.' tags: - Lithic - Chargeback created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LITHIC_API_KEY: LITHIC_API_KEY capability: consumes: - type: http namespace: lithic-chargeback baseUri: https://sandbox.lithic.com description: Lithic Developer API — Chargeback business capability. Self-contained, no shared references. resources: - name: v1-disputes path: /v1/disputes operations: - name: getdisputes method: GET description: List chargeback requests outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by status. - name: transaction_tokens in: query type: array description: Transaction tokens to filter by. - name: postdisputes method: POST description: Request chargeback outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-disputes-dispute_token path: /v1/disputes/{dispute_token} operations: - name: deletedisputebytoken method: DELETE description: Withdraw chargeback request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getdisputebytoken method: GET description: Get chargeback request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatedisputebytoken method: PATCH description: Update chargeback request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-disputes-dispute_token-evidences path: /v1/disputes/{dispute_token}/evidences operations: - name: getdisputeevidences method: GET description: List evidence outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postevidencedocument method: POST description: Upload evidence outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: v1-disputes-dispute_token-evidences-evidence_token path: /v1/disputes/{dispute_token}/evidences/{evidence_token} operations: - name: deletedisputeevidencebytoken method: DELETE description: Delete evidence outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getdisputeevidencebytoken method: GET description: Get evidence outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.LITHIC_API_KEY}}' placement: header exposes: - type: rest namespace: lithic-chargeback-rest port: 8080 description: REST adapter for Lithic Developer API — Chargeback. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/disputes name: v1-disputes description: REST surface for v1-disputes. operations: - method: GET name: getdisputes description: List chargeback requests call: lithic-chargeback.getdisputes with: status: rest.status transaction_tokens: rest.transaction_tokens outputParameters: - type: object mapping: $. - method: POST name: postdisputes description: Request chargeback call: lithic-chargeback.postdisputes with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/disputes/{dispute-token} name: v1-disputes-dispute-token description: REST surface for v1-disputes-dispute_token. operations: - method: DELETE name: deletedisputebytoken description: Withdraw chargeback request call: lithic-chargeback.deletedisputebytoken outputParameters: - type: object mapping: $. - method: GET name: getdisputebytoken description: Get chargeback request call: lithic-chargeback.getdisputebytoken outputParameters: - type: object mapping: $. - method: PATCH name: updatedisputebytoken description: Update chargeback request call: lithic-chargeback.updatedisputebytoken with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/disputes/{dispute-token}/evidences name: v1-disputes-dispute-token-evidences description: REST surface for v1-disputes-dispute_token-evidences. operations: - method: GET name: getdisputeevidences description: List evidence call: lithic-chargeback.getdisputeevidences outputParameters: - type: object mapping: $. - method: POST name: postevidencedocument description: Upload evidence call: lithic-chargeback.postevidencedocument with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/disputes/{dispute-token}/evidences/{evidence-token} name: v1-disputes-dispute-token-evidences-evidence-token description: REST surface for v1-disputes-dispute_token-evidences-evidence_token. operations: - method: DELETE name: deletedisputeevidencebytoken description: Delete evidence call: lithic-chargeback.deletedisputeevidencebytoken outputParameters: - type: object mapping: $. - method: GET name: getdisputeevidencebytoken description: Get evidence call: lithic-chargeback.getdisputeevidencebytoken outputParameters: - type: object mapping: $. - type: mcp namespace: lithic-chargeback-mcp port: 9090 transport: http description: MCP adapter for Lithic Developer API — Chargeback. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-chargeback-requests description: List chargeback requests hints: readOnly: true destructive: false idempotent: true call: lithic-chargeback.getdisputes with: status: tools.status transaction_tokens: tools.transaction_tokens outputParameters: - type: object mapping: $. - name: request-chargeback description: Request chargeback hints: readOnly: false destructive: false idempotent: false call: lithic-chargeback.postdisputes with: body: tools.body outputParameters: - type: object mapping: $. - name: withdraw-chargeback-request description: Withdraw chargeback request hints: readOnly: false destructive: true idempotent: true call: lithic-chargeback.deletedisputebytoken outputParameters: - type: object mapping: $. - name: get-chargeback-request description: Get chargeback request hints: readOnly: true destructive: false idempotent: true call: lithic-chargeback.getdisputebytoken outputParameters: - type: object mapping: $. - name: update-chargeback-request description: Update chargeback request hints: readOnly: false destructive: false idempotent: true call: lithic-chargeback.updatedisputebytoken with: body: tools.body outputParameters: - type: object mapping: $. - name: list-evidence description: List evidence hints: readOnly: true destructive: false idempotent: true call: lithic-chargeback.getdisputeevidences outputParameters: - type: object mapping: $. - name: upload-evidence description: Upload evidence hints: readOnly: false destructive: false idempotent: false call: lithic-chargeback.postevidencedocument with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-evidence description: Delete evidence hints: readOnly: false destructive: true idempotent: true call: lithic-chargeback.deletedisputeevidencebytoken outputParameters: - type: object mapping: $. - name: get-evidence description: Get evidence hints: readOnly: true destructive: false idempotent: true call: lithic-chargeback.getdisputeevidencebytoken outputParameters: - type: object mapping: $.