Exclude refunds from transaction amounts

Github

Github
API
This update fixes an issue where refunds where counted as a transaction when listing the amount of transactions.
This update fixes an issue where refunds where counted as a transaction when listing the amount of transactions.