add pay kf api, filterByKeys, toLowerCaseKeys