Best practice of enforcing app usage

idango
Shopify Partner
16 0 2

Hi there,

 

I am using the app usage API, and I wonder what's the best way to understand when a new billing cycle has started, as the `APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT` tells whenever it got to 90%. Still, I'm looking for the right webhook that will tell me when the billing cycle restarted so I can understand the merchant is out of the approaching capped amount area.

 

Also, is there any way to query for the current used amount of a spending limit?

 

Thanks.

Replies 0 (0)