#yogeshwari
1 messages · Page 1 of 1 (latest)
yes actually I want to fetch more that 100 coupons
basically we wnat to fetch only that coupon whose name not empty
You can try using search, not exactly sure it works with Coupons: https://stripe.com/docs/api/pagination/search
No, it doesn't work with Coupons. You will need to retrieve all the Coupons and do the filtering on your side
ok but it provides only 100
100 at a time, you can make another request with starting_after parameter set to get the rest: https://stripe.com/docs/api/coupons/list#list_coupons-starting_after
You can also use auto-pagination: https://stripe.com/docs/api/pagination/auto