Usage based billing systeme

Topic summary

Topic: Implementing usage-based (metered) billing for a Shopify app that earns commission on sales generated via a website.

  • Request: Guidance on enabling “billing per usage” in a Shopify app to charge based on sales-driven activity.
  • Suggestion: Use Shopify’s App Remix Billing API v3 (link provided). The participant points to a specific createUsageRecord endpoint that may support metered/usage charges, though they are not certain it perfectly matches the commission model.

Key terms:

  • Shopify Remix: Shopify’s app framework; its Billing API v3 handles app charges.
  • createUsageRecord: An API method suggested for recording usage events for billing.

Status: No confirmed solution yet; no code examples shared. Next step is to review the v3 Billing API docs and test whether createUsageRecord fits the commission-based use case. Discussion remains open.

Summarized with AI on December 14. AI used: gpt-5.

Hey everyone,

I’m currently working on a Shopify app that lets me earn a commission on sales generated through my website.

Does anyone know how I can implement a “billing per usage” model for this? Any references or tips would be super helpful!

Thanks a lot! :folded_hands:

if you’re using the Shopify remix application structure/system. you might be able to use their billing API the most recent one is v3.

https://shopify.dev/docs/api/shopify-app-remix/v3/apis/billing

there is a specific “createUsageRecord” that might work for you I’m not exactly sure if that’s exactly what you want but maybe that will help.

good luck!