REST API

Validate Authentication Request and Response

The following are examples of a Payer Authentication validate authentication request and its corresponding response.
Validate Authentication Request
Test URL: https://apitest.cybersource.com/pts/v2/payments
Prod URL: https://api.cybersource.com/pts/v2/payments
{ "clientReferenceInformation": { "code": "3DSHarness_PaValidateRestAPI" }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "100" }, "billTo": { "address1": "901 metro center blvd", "address2": "metro 3", "administrativeArea": "CA", "country": "US", "locality": "san francisco", "firstName": "John", "lastName": "Doe", "phoneNumber": "18007097779", "postalCode": "94404", "email": "email@email.com" } }, "paymentInformation": { "card": { "number": "4XXXXXXXXXXXXXXX", "type": "001", "expirationMonth": "01", "expirationYear": 2023 } }, "buyerInformation": { "mobilePhone": "1245789632" }, "consumerAuthenticationInformation": { "authenticationTransactionId": "1xRSpLPEoTNsinp8XUK0" } }
Validate Authentication Response
{ "clientReferenceInformation": { "code": "3DSHarness_PaValidateRestAPI" }, "consumerAuthenticationInformation": { "indicator": "vbv", "eciRaw": "05", "authenticationResult": "0", "authenticationStatusMsg": "Success", "eci": "05", "token": "AxjzbwSTVZPVXrQRXOgcADUBURxP1C3TpA6cQE14ZNJMvRiuHCKArAAA5AAG", "cavv": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=", "paresStatus": "Y", "xid": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=", "directoryServerTransactionId": "4d19781a-49d7-4c90-a145-72b8107fed8f", "threeDSServerTransactionId": "84e6c23b-e621-464e-aaec-18cdd15a0eec", "specificationVersion": "2.1.0", "acsTransactionId": "ee745e3c-c267-4c34-9311-0b7560c2d68f" }, "id": "6300992253756050303004", "paymentInformation": { "card": { "bin": "4XXXXXXX", "type": "VISA" } }, "status": "AUTHENTICATION_SUCCESSFUL", "submitTimeUtc": "2021-08-27T21:20:25Z" }
The following is an example of an Payer Authentication Validate request and its corresponding response using Google Pay as the digital payment option.
Validate Request Using Google Pay
{ "clientReferenceInformation": { "code": "" }, "orderInformation": { "amountDetails": { "currency": "USD", "totalAmount": "200.00" }, "lineItems": [ { "unitPrice": "10", "quantity": "2", "taxAmount": "32.40" } ] }, "paymentInformation": { "card": { "type": "002", "expirationMonth": "12", "expirationYear": "2025", "number": "5200000000000007" }, "fluidData": { "value": "XFx1MDAzZFwiLFwia2V5RXhwaXJhdGlvblwiOlwiMTYzMDUxNjYyODA0OVwifSIsInNpZ25hdHVyZXMiOlsiTUVVQ0lRRHlTQTV1T2t5UXQ5cFoyQlEzaXBmcGNWT0F5ZmIzM2ozUEZPQUw3K1o5S3dJZ2FjWWp2YWJpTEUyWHFkNU1xNGphNStEVldoREttVHpoMmk1RGlnbllFQndcdTAwM2QiXX0sInByb3RvY29sVmVyc2lvbiI6IkVDdjIiLCJzaWduZWRNZXNzYWdlIjoie1wiZW5jcnlwdGVkTWVzc2FnZVwiOlwiWG5qOGxSSWhGMDVEWWdRK3hwNEE5YUhsVGE1U2ljdUJac2w1L2NNRkJlclBBY1RzaE4zRFlOb1MvdEVkRkRYRzZJRXBpVlcxVnV6OUprejNWWGdpMzJrT21EVk9aakJNWTFvVHdTQnA5WG53ejlLYUtOekYvRFBSTy9jbStobW9iZ2dSdmxGSStOekN5U1VNWW1hbTJjZFUyZGRZWmZHck9nZWNSc3FrdW1tNmlMa0xGQTFJcDFrNWFRV21EUElEdTh1SnNmbWs4bzMyMlpteVdMMVVWenE0WHFkNTZScXZoL1VFeEp3RC9HZXU5SW00M0pmblZqckVkeDE0Ykx1OUpm" } }, "consumerAuthenticationInformation": { "authenticationTransactionId": "PYffv9G3sa1e0CQr5fV0" } }
Validate Response Using Google Pay
{ "clientReferenceInformation": { "code": "1648503547340" }, "consumerAuthenticationInformation": { "indicator": "internet", "ucafCollectionIndicator": "0", "token": "AxjzbwSTX43yPAubTbmGAD0CURxtQdcxpA+cQEE8MmkmXoxYboZgHAAA/wHd" }, "id": "6485035473596312304006", "status": "AUTHENTICATION_SUCCESSFUL", "submitTimeUtc": "2022-03-28T21:39:09Z" }