Reply
Member
Posts: 3
Registered: ‎10-10-2018

How to get card expiration date unmasked from transaction details?

I am writing an integration that exports all the transactions thru the API for reporting purposes, and I need to retrieve the card last 4 digits and the card expiration date. The card number is there, but the expiration from the getTransactionDetails call is masked as XXXX. How can I retreive it unmasked? I am not using customer payment profiles, so that is not an option.

Highlighted
Moderator
Posts: 102
Registered: ‎06-26-2018

Re: How to get card expiration date unmasked from transaction details?

Hi JRodman

 

It is not currently possible to get the expiration date in an unmasked format. It will always be returned in a masked format, even if you were to download the transaction history from the Merchant Interface. 

 

If you have a need to capture the expiration date, please capture it at the time of transaction submission if you host your own payment collection form. If you use a hosted form, collection of the expiration date will not be possible.

 

I hope this information is helpful to you. 

 

Regards, 

Elaine