<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to Extract Credit Last 4 Digits + Card Expiration Date from CIM in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14850#M8518</link>
    <description>&lt;P&gt;Looking at the&amp;nbsp;getCustomerProfileResponse﻿ XML, cardNumber and expirationDate are completely masked. In order to 1.) help our customers with multiple credits cards on file identify which they want to use, and 2.) send email notifications regarding upcoming card expirations, I'd like to access last 4 digits and expiration dates from an API call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this not possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I log in to the CIM web interface, this information is available. If it's not available from the API, is it against the ToS to scrape it?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2011 18:22:38 GMT</pubDate>
    <dc:creator>rm</dc:creator>
    <dc:date>2011-07-14T18:22:38Z</dc:date>
    <item>
      <title>How to Extract Credit Last 4 Digits + Card Expiration Date from CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14850#M8518</link>
      <description>&lt;P&gt;Looking at the&amp;nbsp;getCustomerProfileResponse﻿ XML, cardNumber and expirationDate are completely masked. In order to 1.) help our customers with multiple credits cards on file identify which they want to use, and 2.) send email notifications regarding upcoming card expirations, I'd like to access last 4 digits and expiration dates from an API call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this not possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I log in to the CIM web interface, this information is available. If it's not available from the API, is it against the ToS to scrape it?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2011 18:22:38 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14850#M8518</guid>
      <dc:creator>rm</dc:creator>
      <dc:date>2011-07-14T18:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract Credit Last 4 Digits + Card Expiration Date from CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14856#M8521</link>
      <description>&lt;P&gt;From what my CIM setup is doing,&amp;nbsp; AuthNet returns a variable called 'creditCard' which is the last four digits of the customer card with four X's in front of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp; creditCard=XXXX1234&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can parse that out of the results using&lt;/P&gt;&lt;P&gt;echo urlencode($parsedresponse-&amp;gt;profile-&amp;gt;paymentProfiles-&amp;gt;payment-&amp;gt;creditCard-&amp;gt;cardNumber)﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not seen any indication that they pass the expiration date at all.. at least I haven't seen it in the documentation or the raw data returned on the requests for payment information... but I could easily be wrong about that :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2011 20:57:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14856#M8521</guid>
      <dc:creator>WHeisenberg</dc:creator>
      <dc:date>2011-07-14T20:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract Credit Last 4 Digits + Card Expiration Date from CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14860#M8523</link>
      <description>&lt;P&gt;You're right. So cardNumber last 4 digits are available, but expirationDate is completely obfuscated:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;getCustomerPaymentProfileResponse xmlns:xsi="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Ok&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;I00001&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;Successful.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;paymentProfile&amp;gt;&amp;lt;billTo&amp;gt;&amp;lt;address&amp;gt;123 Main St.&amp;lt;/address&amp;gt;&amp;lt;city&amp;gt;Bellevue&amp;lt;/city&amp;gt;&amp;lt;state&amp;gt;WA&amp;lt;/state&amp;gt;&amp;lt;zip&amp;gt;98004&amp;lt;/zip&amp;gt;&amp;lt;/billTo&amp;gt;&amp;lt;customerPaymentProfileId&amp;gt;16867489&amp;lt;/customerPaymentProfileId&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;cardNumber&amp;gt;XXXX2007&amp;lt;/cardNumber&amp;gt;&amp;lt;expirationDate&amp;gt;XXXX&amp;lt;/expirationDate&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;/paymentProfile&amp;gt;&amp;lt;/getCustomerPaymentProfileResponse&amp;gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Half of my original question still stands: Is there way to get expiration date via the API, and if not, is it ok for me to scrape it from what I can see when I'm logged in to the CIM website?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2011 22:12:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14860#M8523</guid>
      <dc:creator>rm</dc:creator>
      <dc:date>2011-07-14T22:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Extract Credit Last 4 Digits + Card Expiration Date from CIM</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14986#M8586</link>
      <description>&lt;P&gt;There is no way to get the expiration date from any API (CIM or otherwise) back from AuthNet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as the 'legality',&amp;nbsp;&amp;nbsp; we'll have to wait to see what the legal-eagle's have to say about that.&amp;nbsp;&amp;nbsp; Manually moving secure data into your own database probably has rules or regulations.. I don't know the answer to that one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now 1/4 of your original question still stands :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wheis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2011 17:38:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-Extract-Credit-Last-4-Digits-Card-Expiration-Date-from/m-p/14986#M8586</guid>
      <dc:creator>WHeisenberg</dc:creator>
      <dc:date>2011-07-18T17:38:41Z</dc:date>
    </item>
  </channel>
</rss>

