openapi: 3.1.0 info: title: Vantiv Chargeback Authorizations Captures API description: The Vantiv Chargeback API provides programmatic access to chargeback and dispute management. Merchants can retrieve chargeback details, upload evidence documents, respond to disputes, and manage the entire chargeback lifecycle. This API is used to defend against fraudulent disputes and retrieve chargeback settlement information. version: '2.0' contact: name: Worldpay Developer Hub url: https://developer.worldpay.com license: name: Proprietary url: https://developer.vantiv.com/community/ecommerce servers: - url: https://services.vantivprelive.com/services/chargebacks description: Vantiv Pre-Live (Staging) Environment - url: https://services.vantivcnp.com/services/chargebacks description: Vantiv Production Environment security: - basicAuth: [] tags: - name: Captures description: Capture previously authorized transactions for settlement paths: /capture: post: operationId: createCapture summary: Create Capture description: Capture a previously authorized transaction to initiate settlement. Must reference a valid authorization transaction ID. Can capture partial amounts. tags: - Captures requestBody: required: true content: application/xml: schema: $ref: '#/components/schemas/CaptureRequest' responses: '200': description: Capture response content: application/xml: schema: $ref: '#/components/schemas/CaptureResponse' '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' components: responses: Unauthorized: description: Unauthorized — invalid merchant credentials content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse' BadRequest: description: Bad request — malformed XML or invalid transaction data content: application/xml: schema: $ref: '#/components/schemas/ErrorResponse' schemas: ErrorResponse: type: object properties: response: type: string description: Error response code message: type: string description: Error message CaptureResponse: type: object properties: id: type: string cnpTxnId: type: integer format: int64 response: type: string message: type: string postDate: type: string CaptureRequest: type: object required: - merchantId - id - cnpTxnId - amount properties: merchantId: type: string id: type: string cnpTxnId: type: integer format: int64 description: Transaction ID from original authorization amount: type: integer description: Amount to capture in cents (can be less than authorization) securitySchemes: basicAuth: type: http scheme: basic