Bank interest

How does paying interest on money created costlessly by banks work?