On This Page
REST API
Validation and Authorization Request
The following is an example of an Payer Authentication Validation and Authorization
request and its corresponding response using the Hybrid
implementation.
Validate and Authorization 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": "3HHi4FeT0wsWSd1D5fv0" }, "processingInformation": { "actionList": [ "VALIDATE_CONSUMER_AUTHENTICATION" ] } }
Validate and Authorization Response
{ "_links": { "authReversal": { "method": "POST", "href": "/pts/v2/payments/6301001634966060103004/reversals" }, "self": { "method": "GET", "href": "/pts/v2/payments/6301001634966060103004" }, "capture": { "method": "POST", "href": "/pts/v2/payments/6301001634966060103004/captures" } }, "clientReferenceInformation": { "code": "3DSHarness_PaValidateRestAPI" }, "consumerAuthenticationInformation": { "indicator": "vbv", "eciRaw": "05", "authenticationResult": "0", "authenticationStatusMsg": "Success", "eci": "05", "token": "Axj/7wSTVZP2st07j3VcADUg3btnLZw1YsKdJq0bQaqiOJ+owWAFRHE/UYLGkDpxATXhk0ky9GK4cIqCuTVZP2st07j3VcAA+TgB", "cavv": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=", "paresStatus": "Y", "xid": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTA=", "directoryServerTransactionId": "91706faf-1f43-4e8a-aa99-8bced446caac", "threeDSServerTransactionId": "449e686f-427d-4659-af1e-0df79951c25b", "specificationVersion": "2.1.0", "acsTransactionId": "c878e32a-695b-40cd-87e5-5a13e9901cbb" }, "id": "6301001634966060103004", "orderInformation": { "amountDetails": { "authorizedAmount": "100.00", "currency": "USD" } }, "paymentAccountInformation": { "card": { "type": "001" } }, "paymentInformation": { "tokenizedCard": { "type": "001" }, "card": { "bin": "4XXXXXXX", "type": "VISA" } }, "pointOfSaleInformation": { "terminalId": "123456" }, "processorInformation": { "approvalCode": "888888", "responseCode": "100", "avs": { "code": "X", "codeRaw": "I1" } }, "reconciliationId": "776968510SR546AU", "status": "AUTHORIZED", "submitTimeUtc": "2021-08-27T21:36:03Z" }