question

trueox avatar image
trueox asked David Marginian Deactivated answered

REST API filter by today

I like to pull all payment received from today, I do not care about time. how to I filter today's payment only?


https://apisandbox.dev.clover.com/v3/merchants/{mId}/orders?filter=

clientCreatedTime ???

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

·
David Marginian avatar image
David Marginian Deactivated answered

Yes, you will need two clientCreatedTime filters where one is >= the start of the day and one is <= the end of the day as illustrated in the first example here - https://docs.clover.com/docs/applying-filters. If you need more help I recommend you go to your merchant dashboard, look at the transactions page and inspect the network tab when the page is loaded to see how we do it (you will see a payments request for "today").

10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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