Reply
Contributor
Posts: 36
Registered: ‎11-13-2017

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

Highlighted
Posts: 300
Kudos: 51
Solutions: 35
Registered: ‎03-13-2017

Re: Get Customer Payment Profile Response Processing

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

Follow me at

https://twitter.com/anuragg29

https://www.linkedin.com/in/anuragg



Send feedback at developer_feedback@authorize.net
Contributor
Posts: 36
Registered: ‎11-13-2017

Re: Get Customer Payment Profile Response Processing

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

Posts: 300
Kudos: 51
Solutions: 35
Registered: ‎03-13-2017

Re: Get Customer Payment Profile Response Processing

@sureshrb3 full card number is not returned via APIs . 

 

Thanks

Follow me at

https://twitter.com/anuragg29

https://www.linkedin.com/in/anuragg



Send feedback at developer_feedback@authorize.net
Contributor
Posts: 36
Registered: ‎11-13-2017

Re: Get Customer Payment Profile Response Processing

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

Posts: 300
Kudos: 51
Solutions: 35
Registered: ‎03-13-2017

Re: Get Customer Payment Profile Response Processing

[ Edited ]

@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...

Follow me at

https://twitter.com/anuragg29

https://www.linkedin.com/in/anuragg



Send feedback at developer_feedback@authorize.net