razorpay / razorpay-node

Razorpay node.js bindings
MIT License
179 stars 110 forks source link

fix: wrong types definition specified for class field #415

Open OutdatedGuy opened 4 months ago

OutdatedGuy commented 4 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