question

mtt avatar image
mtt asked keithryanwong Deactivated edited

Is there a limit to the age of data that can be pulled from the REST API?

Is there a limit to the age of data that can be pulled from the REST API?

For example:
/v3/merchants/mid/payments?amount=123

Will data from eg. from 7 months ago come back?
REST API
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

keithryanwong avatar image
keithryanwong Deactivated answered keithryanwong Deactivated edited
Hi @mtt,

Data from 7 months ago will still be accessible, but if you are doing a bulk query, you will need to use the export api: https://github.com/clover/export-api-examples


EDIT: You will probably also want to filter by createdTime. Amount is not an indexed property, so it's likely that you'd get a timeout before getting the data you're looking for. IT would be best to narrow down the amount of data you're pulling from the Clover servers as much as possible when querying for data so far back.

Please refer to our docs on how to do so:
https://docs.clover.com/build/web-api/

Best,
Keith
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