Implement "pay", transactions, and goal.