cancel
Showing results for 
Search instead for 
Did you mean: 

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?

4MSTRtest
Member
1 REPLY 1

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.

TJPride
Expert