On This Page
REST Example: Capturing a Payment with Level II Data
Request
{ "clientReferenceInformation": { "code": "TC50171_3" }, "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD" }, "lineItems": [ { "unitPrice": "100.00", "taxAmount": "2.21" } ] } }
Successful Response
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/captures/6847845968016655603955/voids" }, "self": { "method": "GET", "href": "/pts/v2/captures/6847845968016655603955" } }, "clientReferenceInformation": { "code": "TC50171_3" }, "id": "6847845968016655603955", "orderInformation": { "amountDetails": { "totalAmount": "102.21", "currency": "USD" } }, "reconciliationId": "61233742WHOIG1T5", "status": "PENDING", "submitTimeUtc": "2023-05-22T19:43:16Z" }