Void for a Car Wash Sale {#autofuel-carwash-sale-void-intro}
============================================================

This section describes how to void a sale that was submitted but not yet processed by the processor.

Endpoint {#autofuel-carwash-sale-void-intro_d7e429}
---------------------------------------------------

**Production:** `POST ``https://api.visaacceptance.com``/pts/v2/payments/`*{id}*`/voids`{#autofuel-carwash-sale-void-intro_d7e438}  
**Test:** `POST ``https://apitest.visaacceptance.com``/pts/v2/payments/`*{id}*`/voids`{#autofuel-carwash-sale-void-intro_d7e451}  
The *{id}* is the transaction ID returned in the sale response.

Required Fields for Voiding a Sale for a Car Wash {#autofuel-carwash-sale-void-required-fields}
===============================================================================================

clientReferenceInformation.code
:

clientReferenceInformation.reconciliationId
:

orderInformation.amountDetails.currency
:

orderInformation.amountDetails.totalAmount
:
{#autofuel-carwash-sale-void-required-fields_dl_j3q_k3x_s2c}

REST Example: Voiding a Sale for a Car Wash {#autofuel-carwash-sale-void-ex-rest}
=================================================================================

Request

```
{
    "clientReferenceInformation": {
        "code": "123456789012",
        "reconciliationId": "000000050000771"
    },
    "orderInformation": {
        "amountDetails": {
            "totalAmount": "110",
            "currency": "USD"
        }
    }
}
```

Response to a Successful Request

```
{
    "submitTimeUtc": "2025-03-11T16:39:30Z",
    "processorInformation": {
        "approvalCode": "OK1272",
        "responseCode": "000"
    },
    "consumerAuthenticationResponse": {
        "systemTraceAuditNumber": "500036"
    },
    "orderInformation": {
        "amountDetails": {
            "authorizedAmount": "110.00"
        }
    },
    "message": "Successful transaction.",
    "clientReferenceInformation": {
        "code": "123456789012"
    },
    "reconciliationId": "000000050000771",
    "id": "7417111702443232235535",
    "_links": {
        "self": {
            "method": "GET",
            "href": "/pts/v2/voids/7417111702443232235535"
        }
    },
    "status": "VOIDED"
}
```

