js return payment results using camel case