The latest NodeJS-SDK found at (https://github.com/paynow/Paynow-NodeJS-SDK) README.md requires an update and I believe there is a bug in the NodeJS-SDK/dist/index.js. (Line: 49) defines a Payment function that requires 3 parameters however, the only way to invoke the Payment function, using the createPayment prototype method calls the Payment function with only 2 parameters, (Line: 87 ) results in an error.