naftiko: 1.0.0-alpha2 info: label: Visa Acceptance Payments API — Voids description: 'Visa Acceptance Payments API — Voids. 1 operations. Lead operation: Void Payment. Self-contained Naftiko capability covering one Visa Acceptance business surface.' tags: - Visa Acceptance - Voids created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VISA_ACCEPTANCE_API_KEY: VISA_ACCEPTANCE_API_KEY capability: consumes: - type: http namespace: payments-voids baseUri: https://api.visaacceptance.com description: Visa Acceptance Payments API — Voids business capability. Self-contained, no shared references. resources: - name: pts-v2-payments-paymentId-voids path: /pts/v2/payments/{paymentId}/voids operations: - name: voidpayment method: POST description: Void Payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: paymentId in: path type: string description: The payment or capture ID to void required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.VISA_ACCEPTANCE_API_KEY}}' exposes: - type: rest namespace: payments-voids-rest port: 8080 description: REST adapter for Visa Acceptance Payments API — Voids. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/pts/v2/payments/{paymentid}/voids name: pts-v2-payments-paymentid-voids description: REST surface for pts-v2-payments-paymentId-voids. operations: - method: POST name: voidpayment description: Void Payment call: payments-voids.voidpayment with: paymentId: rest.paymentId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: payments-voids-mcp port: 9090 transport: http description: MCP adapter for Visa Acceptance Payments API — Voids. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: void-payment description: Void Payment hints: readOnly: false destructive: false idempotent: false call: payments-voids.voidpayment with: paymentId: tools.paymentId body: tools.body outputParameters: - type: object mapping: $.