Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 25
Registered: ‎11-24-2011

How to get the CardType from Service



We are using the service for our payment process. We have around 1200 members card details.

Now we have a requiremnet that need to show the member card with their respective card type (Master,visa, that).


For that we are trying with

SoapAPIUtilities.Service.GetCustomerPaymentProfile(SoapAPIUtilities.MerchantAuthentication, pPaymentProfileDTO.CustomerProfileID, pPaymentProfileDTO.PaymentProfileID);


But getting CardType as NULL.


Could you please help any way of getting the CardType from by passing Customer Profile ID and Payment Profile ID.







Posts: 4,525
Registered: ‎03-08-2010

Re: How to get the CardType from Service

It null because Card Type is not one of field return from GetCustomerPaymentProfile. The only time it return Card Type is when you run a transaction.