To give value in exchange. Payment closes an obligation.
Latin pacare (to pacify, appease), from pax (peace); to pay a debt was first to make peace with the one it was owed to, closing the account by settling it.
To give value in exchange for something received, in a way that closes what was owed rather than merely acknowledging it.