question

mkonnekt avatar image
mkonnekt asked mkonnekt commented

Is there an API and web hook for metered IDs?

Hi,

My app has a few metered ids which I want to use to charge merchants.

  1. Can I create metered ids programmatically? Is there an API?
  2. Can I fetch all metered ids for my app in one go?

I have to charge my merchants at the start of the month using these metered ids. However, I do not want to hardcode the metered ids in my code.

Therefore, I want to call this API to know the latest list of metered ids in my account on Clover at the start of the month.

Or if there is a web hook, I can store the metered ids locally in my DB and get additions / changes on Clover for metered ids to my database automatically instead of fetching the entire set each time.

Please advise.

1 comment
10 |2000

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

Hi team, Kindly reply to my question on API for metered

0 Likes 0 ·

1 Answer

Mike M avatar image
Mike M answered

Metered Ids are created via the dashboard when adding pricing to an app so that is visible in the App Market when a merchant first agrees to subscribe to your app. You can imagine a merchant's dismay/surprise if new metered events could be created without them knowing, possibly causing their app charges skyrocket.

Please see: https://docs.clover.com/launch/billin...

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