Get payments support

Added support for get_payments.