From Get Customer Payment Profile Response , we are getting masked Card Number. Is there any possible ways to get the exact card number from response. If not, can we get original card number from that masked one? if possible give me an example.
kindly do help me.
Suresh babu R
You can pass unmaskExpirationDate as true for getting unmasked expiration date in the response.
Thanks for your answer!!
Yes full card number will not be returned via API's but we get the masked one's. Now my doubt is can we decrypt or do anything to get the full card number from that masked one.
Initially a payment profile was created with a card say "4111111111111111" and exp date "02-2018". But consider now the card was expired. The user renews the card for new expiry date from bank. Now only the expiry date need to be updated for that payment profile. What should i do. Can we Update Customer Payment Profile without passing card number.
Suresh Babu R
@sureshrb3 Yes you can pass the masked card number when updating the payment profile for expiration dates .
Please do check the documentation on the Request tab for getting more information .
|cardNumber||The customer’s credit card number.
If the value is masked, the last four digits must match the original value in the profile.
If a masked value is submitted, the original value will not be updated.
String, 13 to 16 characters. Masked card numbers accepted.
For example, 4111111111111111 or XXXX1234.
Also you can test these flows quickly from API reference Try it tab