A stateless function here would be preferable, so we're not relying on the external params object to exist. We can change the below to `def basic_payment_info(params)` and pass in params here, and it would scope correctly.