REST API | Visa Platform Connect

REST Example: Capturing a Contact EMV Authorization

Endpoint:
  • Production:
    POST
    https://api.cybersource.com
    /pts/v2/payments/
    {id}
    /captures
  • Test:
    POST
    https://apitest.cybersource.com
    /pts/v2/payments/
    {id}
    /captures
Request
{ "clientReferenceInformation": { "code": "123456", "partner": { "thirdPartyCertificationNumber": "123456789012" } }, "orderInformation": { "amountDetails": { "totalAmount": "100.00", "currency": "USD" } }, "pointOfSaleInformation": { "emv": { "tags": "9F3303204000950500000000009F3704518823719F100706011103A000009F260 81E1756ED0E2134E29F36020015820200009C01009F1A0208409A030006219F02060000000020005 F2A0208409F0306000000000000" } } }
Response for a Successful Request
{ "_links" : { "void" : { "method" : "POST", "href" : "/pts/v2/captures/6512628085536163703211/voids" }, "self" : { "method" : "GET", "href" : "/pts/v2/captures/6512628085536163703211" } }, "clientReferenceInformation" : { "code" : "1651262808531" }, "id" : "6512628085536163703211", "orderInformation" : { "amountDetails" : { "totalAmount" : "100.00", "currency" : "USD" } }, "reconciliationId" : "6512627267816161803211", "status" : "PENDING", "submitTimeUtc" : "2022-04-29T20:06:49Z" }