juspay/hyperswitch
View on GitHub[FEATURE] : add pagination support for customers list
Open
#3,746 opened on Feb 21, 2024
C-featuregood first issuehelp wanted
Repository metrics
- Stars
- (42,690 stars)
- PR merge metrics
- (Avg merge 6d 22h) (213 merged PRs in 30d)
Description
Feature Description
The customers list endpoint currently has no pagination support. It returns the list of all the customers in the database. There would be thousands of customers for a merchant. A pagination support for the api would be necessary.
Possible Implementation
accept two fields, limit and offset
limitspecifies the number of objects returned in the response.offsetspecifies the number of items to skip from the start, this is open to discussion whether to use offset or some other field.
This would be similar to the payments_list pagination. Refer here
Have you spent some time checking if this feature request has been raised before?
- I checked and didn't find a similar issue
Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit a PR?
None