REST API | Visa Platform Connect

REST Example: Capturing a Payment with Level III Data

Endpoint:
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/{id}/captures
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/{id}
The
{id}
is the transaction ID returned in the authorization response.
Request
{ "processingInformation": { "purchaseLevel": "3" }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" } } }
Response to a Successful Request
{ "_links": { "void": { "method": "POST", "href": "/pts/v2/captures/6807093180006195204953/voids" }, "self": { "method": "GET", "href": "/pts/v2/captures/6807093180006195204953" } }, "clientReferenceInformation": { "code": "1680709318092" }, "id": "6807093180006195204953", "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" } }, "reconciliationId": "6807091257096356004951", "status": "PENDING", "submitTimeUtc": "2023-04-05T15:41:58Z" }