question

golfllc avatar image
golfllc asked parquet76 edited

Which platform API can be used to get the total tips collected by each employees for a particular date range?

We would like to fetch the total tips collected by each employees between a certain date range. But, not able to figure out which particular api to use.


Thanks

REST APIPaymentsEmployees
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

·
parquet76 avatar image
parquet76 answered parquet76 edited

https://docs.clover.com/reference/paygetpayments

You will have to make the query, then iterate the results and do something like hash them by employee ID (employee ID as the hash key, array of payments for that employee as the value).

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