cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining card information after creating payment profile

After creating payment profile, I'm interested in obtaining masked card number and card's brand(like VISA).

 

I know I can obtain this information from validationDirectResponse filed  in response. But, this is a string and need to be parsed.

 

Is there any better way of getting these information ?

 

[I mean by doing something like: response.paymentProfile.Card.Brad ]

asimneupane0089
Contributor
1 REPLY 1

Hi @asimneupane0089

 

You can call  Get Customer Payment Profile API for it . 

 

https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-payment-prof...

 

<payment>
<creditCard>
<cardNumber>XXXX1111</cardNumber>
<expirationDate>XXXX</expirationDate>
<cardType>Visa</cardType>
<issuerNumber>411111</issuerNumber>
</creditCard>
</payment>





Send feedback at developer_feedback@authorize.net
Anurag
Moderator Moderator
Moderator