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 ]
You can call Get Customer Payment Profile API for it .