On This Page
Captures with Level II Data
This section shows you how to capture an authorized transaction with Level II data. These
required fields and example are specific to
Visa Platform Connect
.
Endpoint
Production:
POST
https://api.visaacceptance.com
/pts/v2/payments/{id}
/capturesTest:
POST
https://apitest.visaacceptance.com
/pts/v2/payments/{id}
/capturesThe is the transaction ID
returned in the authorization response.
{id}
Required Fields for Capturing a Payment with Level II Data
Use these required fields to capture a payment that includes Level II data.
- orderInformation.amountDetails.currency
- orderInformation.amountDetails.totalAmount
- orderInformation.invoiceDetails.purchaseOrderNumber
- Required for purchase/procurement cards only.
- orderInformation.invoiceDetails.taxable
- Required if the sum of allorderInformation.lineItems[].taxAmountvalues >0.
- orderInformation.lineItems[].taxAmount
Optional Fields for Capturing a Payment with Level II Data
You can use these optional fields to include additional information when capturing a
payment with Level II data.
- order.vatTaxAmountSign
- orderInformation.shipTo.postalCode
REST Example: Capturing a Payment with Level II Data
Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "orderInformation": { "amountDetails": { "totalAmount": "7.77", "currency": "USD" }, "invoiceDetails": { "purchaseOrderNumber": "LevelII Auth Po", "taxable": true }, "lineItems": [ { "unitPrice": "7.00", "taxAmount": ".77" } ] } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/captures/7316954580096155203955/voids" }, "self": { "method": "GET", "href": "/pts/v2/captures/7316954580096155203955" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "7316954580096155203955", "orderInformation": { "amountDetails": { "totalAmount": "112.00", "currency": "USD" } }, "reconciliationId": "7316954318366152603955", "status": "PENDING", "submitTimeUtc": "2024-11-15T18:30:58Z" }