bug fix for getPayments operation in data service