I am looking for the API to convert that can convert the LVT in the Authorization transaction and receive a High Value Token (HVT) in the response message. Can you please provide the API details alongwith Sample request + response structure. Many Thanks!
Hi Madhur,
I assume you are coding directly to the eComm platform using the cnpAPI. You can find the inflormation you requested in the eProtect Integration Guide (Worldpay eProtect Integration Guide V7.5 ) Section 2.5.2. Below are the Request and Response examples from that section.
Note that in the request the value of 000 for the <cardValidationNum> element in the request signifies that we should use the CVV from the information captured by eProtect.
<cnpOnlineRequest version="12.6" xmlns="http://www.vantivcnp.com/schema" merchantId="100">
<authentication>
<user>User Name</user>
<password>Password</password>
</authentication>
<authorization id="834262" reportGroup="ABC Division" customerId="038945">
<orderId>65347567</orderId>
<amount>40000</amount>
<orderSource>ecommerce</orderSource>
<billToAddress>
<name>John Smith</name>
<addressLine1>100 Main St</addressLine1>
<city>Boston</city>
<state>MA</state>
<zip>12345</zip>
<email>jsmith@someaddress.com</email>
<phone>555-123-4567</phone>
</billToAddress>
<paypage>
<paypageRegistrationId>cDZJcmd1VjNlYXNaSlRMTGpocVZQY1NNlYE4ZW5UTko4NU 9KK3p1L1p1VzE4ZWVPQVlSUHNITG1JN2I0NzlyTg=</paypageRegistrationId>
<expDate>1021</expDate>
<cardValidationNum>000</cardValidationNum>
</paypage>
</authorization>
</cnpOnlineRequest>
<cnpOnlineResponse version="12.6" xmlns="http://www.vantivcnp.com/schema" response="0" message="Valid Format">
<authorizationResponse id="834262" reportGroup="ABC Division" customerId="038945">
<cnpTxnId>969506</cnpTxnId>
<orderId>65347567</orderId>
<response>000</response>
<responseTime>2018-09-25T15:13:43</responseTime>
<postDate>2018-09-25</postDate>
<message>Approved</message>
<authCode>123457</authCode>
<fraudResult>
<avsResult>11</avsResult>
<cardValidationResult>P</cardValidationResult>
</fraudResult>
<tokenResponse>
<cnpToken>1111000100090005</cnpToken>
<tokenResponseCode>801</tokenResponseCode>
<tokenMessage>Account number was successfully registered</tokenMessage>
<type>VI</type>
<bin>402410</bin>
</tokenResponse>
</authorizationResponse>
</cnpOnlineResponse>
I hope this helps. If you have any other questions, you can add them to this thread or post a new one.
Tom