juspay/hyperswitch

[FEATURE] : add pagination support for customers list

Open

#3.746 aberto em 21 de fev. de 2024

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)Rust (4.676 forks)batch import
C-featuregood first issuehelp wanted

Métricas do repositório

Stars
 (42.690 stars)
Métricas de merge de PR
 (Mesclagem média 6d 22h) (213 fundiu PRs em 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

  • limit specifies the number of objects returned in the response.
  • offset specifies 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?

Are you willing to submit a PR?

None

Guia do colaborador