cancel
Showing results for 
Search instead for 
Did you mean: 

Get Customer Payment Profile Response Processing

Hi,

 

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.

 

Thanks,

Suresh babu R

sureshrb3
Contributor
5 REPLIES 5

Hi @sureshrb3

 

You can pass unmaskExpirationDate as true for getting unmasked expiration date in the response.

 

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

 

 

Thanks





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

Hi,

Thanks for your time !! But am asking about the Card Number, not the Card expiration date.

 

Kindly someone help me in this.

 

Thanks,

Suresh babu R

@sureshrb3 full card number is not returned via APIs . 

 

Thanks





Send feedback at developer_feedback@authorize.net

Hi ,

 

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.

 

Scenario:

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.

 

Thanks,

Suresh Babu R

@sureshrb3 Yes you can pass the masked card number when updating the payment profile for expiration dates . 

 

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

 

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 

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





Send feedback at developer_feedback@authorize.net