Refunds:
You can undo a refund the same day that you requested it. This works the same as payments: a refund will “settle” at 10pm EST, so any action prior to that can be cancelled as if it never happened.
Voids:
You cannot undo a void. Once you have selected the option to void, you will need to collect the payment again.