On This Page
Captures with Level II Data
This section shows you how to capture an authorized transaction with Level II data.
Endpoint
Production:
POST
https://api.cybersource.com
/pts/v2/payments/{id}
/capturesTest:
POST
https://apitest.cybersource.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 Using the REST API
REST
APIThese fields are required in a request for a capture with Level II data:
- Required for purchase or procurement cards only.
- Required for non-US Visa transactions.
- Required for non-US Visa transactions.
- Required for Mastercard transactions only.
- Required for Mastercard transactions only.
- senderInformation.vatRegistrationNumber
- Required for non-US Visa transactions.
Optional Fields for Capturing a Payment with Level II Data Using the REST API
REST
APIThese fields are optional in a request for a sale with Level II data:
- orderInformation.amountDetails.discount Amount
- Required for Visa transactions only.
- orderInformation.amountDetails.dutyAmount
- Required for Visa transactions only.
- orderInformation.amountDetails.tax Details[].rate
- Optional for non-US transactions.
- orderInformation.lineItems[].invoiceNumber
- orderInformation.lineItems[].productCode
- Required for Visa transactions when the total freight amount is >0. Set to one of these values:
- handling_only: Fee that you charge your customer to cover your administrative selling costs.
- shipping_and_handling: Handling portion is the fee that you charge your customer to cover your administrative selling costs. Shipping is the charge for shipping the product to your customer.
- shipping_only: Charge for transporting tangible personal property from your location to your customer. You must maintain documentation that clearly establishes the location where the title to the property passed from you to your customer.
- orderInformation.lineItems[].unitPrice
- Required for Visa transactions when the total freight amount is >0.
- orderInformation.shippingDetails.shipFromPostalCode
- orderInformation.shipTo.postalCode
REST API Example: Capturing a Payment with Level II
Data
Request
{ "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "180.00" }, "invoiceDetails": { "purchaseOrderNumber": "PO-772541" }, "lineItems": [ { "taxAmount": "0.00" } ] } }
Successful Response
{ "_links": { "self": { "method": "GET", "href": "/pts/v2/captures/7219043856123498103954" }, "void": { "method": "POST", "href": "/pts/v2/captures/7219043856123498103954/voids" } }, "id": "7219043856123498103954", "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "180.00" } }, "status": "PENDING", "reconciliationId": "72194820JQZ9LMAF", "submitTimeUtc": "2026-04-22T23:44:19Z" }