Closed negati-ve closed 2 years ago
As per documentation @ https://github.com/razorpay/razorpay-node/blob/master/documents/transfer.md,
instance.orders.transfers({ "expand[]": "transfers" })
results in "orders.transfers is not a function" error
This PR adds a function fetchTransfers to orders, allowing to fetch transfers for a given order id as follows,
fetchTransfers
instance.orders.fetchTransfers( "order_xxxxxxxxxxx" );
Thats all folks!
As per documentation @ https://github.com/razorpay/razorpay-node/blob/master/documents/transfer.md,
results in "orders.transfers is not a function" error
This PR adds a function
fetchTransfers
to orders, allowing to fetch transfers for a given order id as follows,Thats all folks!