Sales Channel App Billing
Use Shopify's Billing API to charge merchants for your sales channel app. When using the Billing API, you can either charge merchants a recurring monthly subscription, or take a commission on sales by creating usage charges.
Recurring billing
Anchor link to section titled "Recurring billing"You can use the appSubscriptionCreate mutation to create a recurring charge.
For more information, refer to subscriptions with the Billing API.
Charging commisions
Anchor link to section titled "Charging commisions"Charging commissions requires the following steps:
- Create a usage pricing plan with the appSubscriptionCreate mutation.
- Create a usage record.
If you're charging commissions, then you need to be aware of how your app's fees impact merchant payouts, and how Shopify's platform fee works.
The following diagram shows the lifecycle of charging commissions. For demonstrative purposes, the example app charges 10% fees on $100 in sales.