How to find current period start and end date of app usage pricing?

While implementing a combined time and usage based app subscription model in the app.

I’m not able to determine the exact start and end date of app usage pricing. The confusion arise from the fact that, upon subscribing to a new combined plan with higher app usage pricing, the used amount stays the same (in other words gets carry forward to new subscription) but at the same time currentPeriodEnd gets updated starting from the day new subscription is approved.

The next charge date mentioned in the shopify store admin also represents currentPeriodEnd date. How does Shopify internally represents the billing cycle of usage pricing. Where can I find it?

1 Like

Hey @Kartik_Shrivastava :waving_hand: the ‘next charge date’ shown in the Shopify admin should usually align with the currentPeriodEnd date from the API. This basically represents when the current 30-day billing cycle ends and the next one begins and is calculated down to the second.

If you’re seeing an example where this isn’t the case though, can you just ping me here with the subscription ID and the shop ID and I’ll take a look? Hope this helps!