Changing the Payment Type after transaction is complete

How do you change the payment type once a transaction is complete, without having to refund the entire transaction and re-enter to select the correct payment type.

As an example I chose mastercard, completed and closed the transaction and later discover it should have been debit. Right now we are refunding the entire purchase to mastercard and re-entering to select debit.

Thx!

What platform and device are you using where you have to manually select the card type?