adding a payments endpoint