question

saurabh avatar image
saurabh asked Mark Mullan Deactivated answered

How to fetch more results

Hello team,

I am firing below request, and getting 100 results as response which indexed respectively 0-99.

https://api.eu.clover.com/v3/merchant...

Now the problem is if i see payments using Clover Dashboard->Transaction it shows me 169 results for particular duration, i want to know how can i fetch same number of results using api.

also guide for pagination if it gives only 100 records in once(its good for performance).

I can see HREF element in response, i thought its the link to fetch next remaining records but it shows me the same previous result as i got when i fired request first time.

Please help to understand it.

Thanks

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Mark Mullan avatar image
Mark Mullan Deactivated answered

Hi Saurabh,

This part of our docs explains pagination: https://docs.clover.com/build/web-api/#pagination

Thanks,

Mark

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community