-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
🚀 Feature Proposal
Similar to paymentLinks.all, which pass additional params to underlying GET request
razorpay-node/lib/resources/paymentLink.js
Lines 104 to 109 in 9737ef1
| return api.get({ | |
| url, | |
| data: { | |
| ...params, | |
| from, | |
| to, |
payments.all method should also pass additional params to GET request
razorpay-node/lib/resources/payments.js
Lines 30 to 35 in 9737ef1
| return api.get({ | |
| url: `${BASE_URL}`, | |
| data: { | |
| from, | |
| to, | |
| count, |
Suggested Solution
Add ...params in data before from, to, count etc here
razorpay-node/lib/resources/payments.js
Lines 30 to 35 in 9737ef1
| return api.get({ | |
| url: `${BASE_URL}`, | |
| data: { | |
| from, | |
| to, | |
| count, |
Alternatives
Directly using api.get method
Additional Information
Node JS: 22.x
Razorpay Node: 2.9.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels