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 ]
08-21-2018 06:36 PM
You can call Get Customer Payment Profile API for it .
<payment>
<creditCard>
<cardNumber>XXXX1111</cardNumber>
<expirationDate>XXXX</expirationDate>
<cardType>Visa</cardType>
<issuerNumber>411111</issuerNumber>
</creditCard>
</payment>
08-21-2018 10:49 PM - edited 08-21-2018 10:49 PM