On This Page
Void for a Car Wash Sale
This section describes how to void a sale that was submitted but not yet processed by the
processor.
Endpoint
Production:
POST
https://api.visaacceptance.com
/pts/v2/payments/{id}
/voidsTest:
POST
https://apitest.visaacceptance.com
/pts/v2/payments/{id}
/voidsThe is the transaction ID returned in the
sale response.
{id}
Required Fields for Voiding a Sale for a Car Wash
- clientReferenceInformation.code
- clientReferenceInformation.reconciliationId
- orderInformation.amountDetails.currency
- orderInformation.amountDetails.totalAmount
REST Example: Voiding a Sale for a Car Wash
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" }