razorpay / razorpay/razorpay-node
[Feature]: Allow passing additional params to payments.all method
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 243
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
🚀 Feature Proposal
Similar to paymentLinks.all, which pass additional params to underlying GET request
payments.all method should also pass additional params to GET request
Suggested Solution
Add ...params in data before from, to, count etc here
Alternatives
Directly using api.get method
Additional Information
Node JS: 22.x
Razorpay Node: 2.9.6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with lib/resources/payments.js at the referenced payments.all implementation, then compare it with lib/resources/paymentLink.js at the referenced paymentLinks.all implementation. Confirm how additional parameters are passed to the GET request and preserve the existing from, to, and count options; the change is done when payments.all forwards those parameters as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100