Home > Request and Reply Examples


Request and Reply Examples

Delivery Address Verification Examples

The service requested is davService.

Name-Value Pair Request

davService_run=true

merchantID=example

merchantReferenceCode=482046C3A7E94F5

billTo_street1=1295 charleston boulevard

billTo_city=Mtn view

billTo_state=ca

billTo_postalCode=94043

billTo_country=us

Name-Value Pair Reply

The following example shows a reply that uses the name-value pair. Depending on the results, some of the fields may be returned empty. Note the status code of S80000 returned by davReply_usInfo.

requestID=0183045530000167905080

merchantReferenceCode=482046C3A7E94F5

decision=ACCEPT

reasonCode=100

davReply_reasonCode=100

davReply_addressType=S

davReply_barCode=130795

davReply_barCodeCheckDigit=5

davReply_careOf=

davReply_matchScore=2

davReply_standardizedAddress1=1295 Charleston Rd

davReply_standardizedAddress2=

davReply_standardizedAddressNoApt=1295 Charleston Rd

davReply_standardizedCity=Mountain View

davReply_standardizedCSP=Mountain View CA 94043-1307

davReply_standardizedState=CA

davReply_standardizedPostalCode=94043-1307

davReply_standardizedCounty=Santa Clara

davReply_standardizedCountry=US

davReply_standardizedISOCountry=US

davReply_usInfo=S80000

XML Request

 

The following XML examples contain an API version number. Do not use that version number because it may not be the most current. To find the most current version of the API, see https://ics2ws.ic3.com/commerce/1.x/transactionProcessor. For transactions in India, see https://ics2ws.in.ic3.com/commerce/1.x/transactionProcessor

<requestMessage xmlns="urn:schemas-Cybersource-com:transaction-data-1.23">

   <merchantID>example</merchantID>

   <merchantReferenceCode>482046C3A7E94F5</merchantReferenceCode>

   <billTo>

      <street1>1295 charleston boulevard</street1>

      <city>Mtn view</city>

      <state>ca</state>

      <postalCode>94043</postalCode>

      <country>us</country>

   </billTo>

   <davService run="true"/>

</requestMessage>

XML Reply

Depending on the results, some of the elements may be returned empty.

<c:replyMessage xmlns:c="urn:schemas-Cybersource-com:transaction-data-1.23">

   <c:requestID>0183045530000167905080</c:requestID>

   <c:merchantReferenceCode>482046C3A7E94F5</c:merchantReferenceCode>

   <c:decision>ACCEPT</c:decision>

   <c:reasonCode>100</c:reasonCode>

   <c:davReply>

      <c:reasonCode>100</c:reasonCode>

      <c:addressType>S</c:addressType>

      <c:apartmentInfo/>

      <c:barCode>130795</c:barCode>

      <c:barCodeCheckDigit>5</c:barCodeCheckDigit>

      <c:careOf/>

      <c:cityInfo>C</c:cityInfo>

      <c:directionalInfo/>

      <c:matchScore>2</c:matchScore>

      <c:standardizedAddress1>1295 Charleston Rd
      </c:standardizedAddress1>

      <c:standardizedAddress2/>

      <c:standardizedAddressNoApt>1295 Charleston Rd
      </c:standardizedAddressNoApt>

      <c:standardizedCity>Mountain View</c:standardizedCity>

      <c:standardizedCounty>Santa Clara</c:standardizedCounty>

      <c:standardizedCSP>Mountain View CA 94043-1307
      </c:standardizedCSP>

      <c:standardizedState>CA</c:standardizedState>

      <c:standardizedPostalCode>94043-1307</c:standardizedPostalCode>

      <c:standardizedCountry>US</c:standardizedCountry>

      <c:standardizedISOCountry>US</c:standardizedISOCountry>

      <c:stateInfo/>

      <c:suffixInfo>S</c:suffixInfo>

      <c:usInfo>S80000</c:usInfo>

      <c:overallInfo/>

   </c:davReply>

</c:replyMessage>