Menu
- Introduction to Payments
- Standard Payments Processing
- Card Present Connect | Retail Processing
- Card Present Connect | Mass Transit Processing
- Debit and Prepaid Card Processing
- Processing Debit and Prepaid Authorizations
- Airline Data Processing
- Japanese Payment Options Processing
- Processing Payments Using Credentials
- Customer-Initiated Transactions with Credentials on File
- MIT Delayed Transaction with PAN
- MIT Incremental Transaction with PAN
- MIT Reauthorization Transactions with PAN
- MIT Resubmission Transaction with PAN
- Installment Payments
- Recurring Payments
- Unscheduled COF Payments
- Token Management Service Processing
- Introduction to Payments
- Standard Payments Processing
- Card Present Connect | Retail Processing
- Card Present Connect | Mass Transit Processing
- Debit and Prepaid Card Processing
- Processing Debit and Prepaid Authorizations
- Airline Data Processing
- Japanese Payment Options Processing
- Processing Payments Using Credentials
- Customer-Initiated Transactions with Credentials on File
- MIT Delayed Transaction with PAN
- MIT Incremental Transaction with PAN
- MIT Reauthorization Transactions with PAN
- MIT Resubmission Transaction with PAN
- Installment Payments
- Recurring Payments
- Unscheduled COF Payments
- Token Management Service Processing
On This Page
REST Example: Capturing a Payment with Level II Data
Endpoint:
- Production:POSThttps://api.cybersource.com/pts/v2/payments/{id}/captures
- Test:POSThttps://apitest.cybersource.com/pts/v2/payments/{id}/captures
The
{id}
is the transaction ID returned in the authorization response.Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD" } } }
Response for a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/captures/6807039415896954303954/voids" }, "self": { "method": "GET", "href": "/pts/v2/captures/6807039415896954303954" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "6807039415896954303954", "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD" } }, "reconciliationId": "6807035882136830803954", "status": "PENDING", "submitTimeUtc": "2023-04-05T14:12:21Z" }