- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CIM: Any way that can get the first digit of a credit card number of a customer payment profile
My service that uses Authorize.net CIM function need to get the type of credit card (visa, master and etc.). And I found that the CIM didn't provide a method to get the credit card type.
The credit card type can be confirmed by the first digit of the credit card. But the first digit of credit card number which is get from CIM getCustomerPaymentProfile method is masked. Is there any way that I can get the first digit?
08-14-2011 11:21 PM - edited 08-14-2011 11:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just store the type yourself whenever the profile is updated. This won't help retroactively, of course, but I don't think there's any way to access credit card type or the first digit of the credit card through the Authorize.net API.

08-15-2011 04:37 PM
