razorpay / razorpay-node

Razorpay node.js bindings
MIT License
169 stars 108 forks source link

Wallet Operations #78

Open atulmy opened 5 years ago

atulmy commented 5 years ago

I think this repository is missing wallet operations, for example:

Create Payment POST /payments/create/openwallet

CC: @rzpamidi

atulmy commented 5 years ago

I was able to use following work around:

const response = await razorpay.api.post({
  url: '/payments/create/openwallet',
  data: {...}
})

However it'd be preferable to add all the missing operations like wallet into razorpay-node itself to abstract away the URL.