razorpay / razorpay-node

Razorpay node.js bindings
MIT License
182 stars 111 forks source link

fix: wrong types definition specified for class field #415

Open OutdatedGuy opened 6 months ago

OutdatedGuy commented 6 months ago

According to official docs for customer creation using razorpay API, fail_existing should be a string.

But the types defined were boolean, numeric 1 & 0.

fixes #377, fixes #381