Capturing an Automatic Fueling Payment

This section provides the information you need in order to capture an automatic fueling authorization with or without a car wash. Include separate line items for the fuel and car wash.

Endpoint

Production:
POST
https://api.visaacceptance.com
/pts/v2/payments/
{id}
/captures
Test:
POST
https://apitest.visaacceptance.com
/pts/v2/payments/
{id}
/captures
The
{id}
is the transaction ID returned in the authorization response.

Required Fields for an Automatic Fueling Capture

clientReferenceInformation.code
clientReferenceInformation.reconciliationID
orderInformation.amountDetails.currency
orderInformation.amountDetails.totalAmount
orderInformation.lineItems[].measurement
orderInformation.lineItems[].referenceDataCode
orderInformation.lineItems[].referenceDataNumber
orderInformation.lineItems[].totalAmount
orderInformation.lineItems[].unitOfMeasure
orderInformation.lineItems[].unitPrice

REST Example: Automatic Fueling Capture

Request
{ "clientReferenceInformation": { "code": "123456789012", "reconciliationId": "000000050000775" }, "orderInformation": { "lineItems": [ { "unitPrice": "20", "totalAmount": "200", "unitOfMeasure": "case", "referenceDataNumber": "01-02-00", "referenceDataCode": "nacs", "measurement": 1 }, { "unitPrice": "20", "totalAmount": "200", "unitOfMeasure": "Gallon", "referenceDataNumber": "01-03-00", "referenceDataCode": "nacs", "measurement": 1 }, { "unitPrice": "20", "totalAmount": "200", "unitOfMeasure": "Liter", "referenceDataNumber": "01-05-00", "referenceDataCode": "nacs", "measurement": 1 } ], "amountDetails": { "totalAmount": "10", "currency": "USD" } } }
Response to a Successful Request
{ "submitTimeUtc": "2025-03-12T17:30:42Z", "_links": { "refund": { "href": "/pts/v2/payments/7418006421273232235535/refunds", "method": "POST" }, "void": { "href": "/pts/v2/payments/7418006421273232235535/voids", "method": "POST" }, "self": { "method": "GET", "href": "/pts/v2/payments/7418006421273232235535" } }, "processorInformation": { "approvalCode": "OK1272", "responseCode": "000" }, "consumerAuthenticationResponse": { "systemTraceAuditNumber": "500042", "merchantNumber": "RCTST1000107085" }, "orderInformation": { "amountDetails": { "authorizedAmount": "10.00" } }, "message": "Successful transaction.", "clientReferenceInformation": { "code": "123456789010" }, "reconciliationId": "000000050000775", "pointOfSaleInformation": { "terminalId": "00000001" }, "id": "7418006421273232235535", "status": "COMPLETED" }