Write a query using window functions to calculate the running total of payments collected per account.