I am developing an script to integrate our website with Payeezy. I am using tokenized transaction. Let's say a customer used a Credit Card 1 Month ago to make a purchase. He has now made a recent purchase with a different card. The card details and/or its token gets updated in my app database. If i am to refund the customer the amount for the one month old transaction, the way it works now, is that it gets refunded successfully to the current card on file and not the one the customer used for that specific transaction.
Question is, is this the way it should work or i am missing something here?