question

david09n avatar image
david09n asked David Marginian Deactivated commented

Is using Clover's Android SDK subjected to API rate limits?

Hello Team!


We notice invoking several methods of the SDK (https://clover.github.io/clover-android-sdk/) will immediately result in REST requests by the SDK to Clover's server. So our question is, are those subjected to the API rate limits?


Ex: we plan to log metered events when they happen in our Android app, and those events are quite often (almost the same frequency with taking payment event on terminal). Is that ok, or we must bundle those events, and log them only once a day/week or month)

(Just to be clearer in this example, we're referring to what Android AppsConnector.logMetered method as it's described at the top of this page: https://docs.clover.com/docs/billing-for-apps; And we're not using the REST API)


Thanks!


David

Clover Mini
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 David Marginian Deactivated commented

A better use of the API would be to keep track of the events for a given period (e.g. one day) and then make a single call with the total event count for that period.

2 comments
10 |2000

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

david09n avatar image david09n commented ·

Thanks for your response David. But still the question, is clover-android-sdk API subjected to the API rate limits?

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ david09n commented ·

I am not 100% certain on that.

0 Likes 0 ·

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