cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to determine if a card is a debit card or credit card?

Is there a way to use the API to determine the card type?

 

I am looking for a more reliable way than asking the cardholder, as sometime they choose the wrong type.

 

 

RickAuthNet2
Member
3 REPLIES 3

For Customer Payment Profiles, your can include:

<includeIssuerInfo>true</includeIssuerInfo> 
<getCustomerPaymentProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <merchantAuthentication>
    <name***</name>
    <transactionKey>***</transactionKey>
  </merchantAuthentication>
  <customerProfileId>47997</customerProfileId>
  <customerPaymentProfileId>40097210</customerPaymentProfileId>
  <includeIssuerInfo>true</includeIssuerInfo>
</getCustomerPaymentProfileRequest>

  and get back :

 <issuerNumber>411111</issuerNumber>

To get IIN information before or after payments, we have created an system that returns detailed results: https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/New-Support-for-Issuer...

Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor

Thank you for the response.

 

1) Is the IIN lookup a separate service you provide?

 

2) And isn't there the possibility the IIN would not be in the database?

 

 

Yes, to both questions. Though, the database is constantly being updated and currently has more than 300,000 IINs.

Powered by NexWebSites.com -
Certified Authorize.net developers