what is the difference between payment and transaction?
A transaction is as more general term to describe when two parties agree to provide a service or product in return for something from the other party. A payment is what that other party provides in return for this service or product. This can be in the form of money, work, trade etc.