A place to discuss charging merchants for your apps and services using the billing API.
Hello there,
I want to create a yearly subscription plan for my app which is a fixed price every year. Along with this I want to create varying monthly charge also.
How can I achieve this using Billing API?
Any help would be appreciated.
Solved! Go to the solution
This is an accepted solution.
Yes, you'll have to create a recurring application charge first, that will have a capped amount associated with it, so the merchant is not charged more than they would expect to be charged each month. Then, each month, you'll have to create a usage charge for the dynamic amount. More info here - https://help.shopify.com/en/api/reference/billing/usagecharge
As far as I know, there could be only one charge per app/store. I think there is no way to achieve that using current Billing API.
@Visely-Team Thank you for the response. I've one more doubt. How is the Usage Charge integration flow? I understood that we need to create a recurring application charge to which we'll add usage charges. So do I need to create usage charge through API monthly?
This is an accepted solution.
Yes, you'll have to create a recurring application charge first, that will have a capped amount associated with it, so the merchant is not charged more than they would expect to be charged each month. Then, each month, you'll have to create a usage charge for the dynamic amount. More info here - https://help.shopify.com/en/api/reference/billing/usagecharge
Shopify does support yearly subscription in GraphQL https://shopify.dev/docs/admin-api/graphql/reference/billing/apppricinginterval