Card last four numbers for card fraud

We need to be able to save the last four numbers for all card payments including account payments. This is in case a refund is requested and you need to put it back on the same card to prevent card fraud.