Payment categorisation and tracking

There ahould be an option to links refunds to original transaction in case of failed transactions.

In the current scenario the spends get doubled. If the refund can be linked to the original transaction the same can be neutralized so that the actual spends can be seen.