Clarification on Usage Charges, Capped Usage Charges, and Product Bundles in Shopify Billing API

Hello Shopify Support Team,

We are developing a Shopify app that helps merchants improve their product listings through AI-powered content optimization. We are currently evaluating the Shopify Billing API and would appreciate your guidance on how to implement our pricing model correctly.

We are planning to offer two payment options:

1. Pay-as-you-go (usage-based billing)

Merchants pay for each product they improve using our app. We intend to use the Shopify Usage Charge API to charge merchants based on their actual usage.

2. Prepaid product bundles

Merchants purchase a bundle of product improvements for a fixed price. For example, a merchant could pay €20 for 100 product improvements. Each improvement consumes one credit from the purchased bundle until all credits have been used.

We would like to understand the best way to implement the second option using Shopify’s current Billing API.

Could you please clarify the following questions?

  1. Capped usage charges: Can we use capped usage charges to implement prepaid product bundles, or are capped usage charges intended only to limit the maximum amount a merchant can be charged for usage within a billing period?

  2. Combining billing APIs: Can we combine the Usage Charge API with capped usage charges or another Shopify Billing API mechanism to support both pricing options within the same app?

  3. Mixing payment methods: Can a merchant use both options simultaneously? For example, the merchant purchases a bundle of 100 product improvements and then pays per product for any additional improvements outside the bundle.

  4. New Billing API: Does Shopify’s current billing system support this type of hybrid pricing model natively, or would we need to implement the bundle and credit tracking ourselves while using Shopify Billing API to process the payments?

  5. Recommended implementation: What is Shopify’s recommended approach for implementing prepaid bundles, usage-based charges, and a combination of both, while remaining compliant with Shopify’s billing requirements?

Our goal is to provide merchants with flexible pricing while ensuring that all payments are processed correctly through Shopify’s supported billing mechanisms.

Thank you for your assistance. We look forward to your guidance and recommendations.

Kind regards,
Mariem—The BenJalTech Team

Hi @Mariem_el_Yahyaoui, I’ll take each of your questions in order below.

You’re right about capped amounts - they’re spending ceilings as opposed to a prepaid balance.

No, capped usage charges can’t implement prepaid bundles. The cappedAmount on a usage-based subscription is the maximum billable for usage in the 30-day billing cycle. Nothing is collected upfront and no credit balance is created. Reaching the cap blocks further usage charges until the next cycle.

Yes, a merchant can use both options simultaneously, through Manual Pricing. Sell bundles as one-time purchases via appPurchaseOneTimeCreate. Each purchase needs merchant approval, so check the purchase status server-side before granting credits. Create a usage-based subscription for pay-as-you-go, consume bundle credits first in your app, and record an appUsageRecordCreate charge only for improvements not covered by the bundle.

There’s no native credit wallet. Bundle balances and consumption are yours to track in the app. Shopify’s guidance on complex pricing models expects exactly that, so it’s the compliant pattern rather than a workaround.

One caveat if your app is enrolled in Shopify App Pricing. One-time purchases aren’t supported and Billing API billing mutations are blocked, so bundles require Manual Pricing.

Hey @Mariem_el_Yahyaoui, prepaid bundles aren’t a native billing concept, so the credit ledger lives on your side. Charge the €20 upfront with appPurchaseOneTimeCreate and grant the 100 credits in your own database. Extra improvements then go through appUsageRecordCreate on a subscription line item with a cappedAmount. One-time purchases and subscriptions are separate charges, so both can run on the same app. Usage gets billed at the end of the cycle, so reconcile every record against your ledger and set an idempotencyKey to avoid double billing. Which API version are you building on?

Hi Shopify Support Team,
Thank you for the detailed answers. We’d like to confirm our understanding and ask a few follow-up questions.
Our understanding

  • Capped usage charges are a spending ceiling and cannot implement prepaid bundles.
  • Bundles must be sold as one-time purchases (appPurchaseOneTimeCreate), and we credit the merchant’s balance in our own database only after checking the purchase status on the server.
  • Pay-as-you-go runs on a usage-based subscription. We consume bundle credits first and record an appUsageRecordCreate charge, with an idempotencyKey, only for improvements not covered by a bundle.
  • If the app is enrolled in Shopify App Pricing, one-time purchases are not supported and Billing API billing mutations are blocked, so we need Manual Pricing.

Your question: which API version are we building on?
We build on Admin GraphQL API version 2026-07.
Follow-up questions

  1. Our app has not launched yet. Can we switch the pricing method from Shopify App Pricing to Manual Pricing in the Partner Dashboard, and does that affect our App Store submission or review in any way?
  2. Are EUR amounts supported for one-time purchases, usage records and the capped amount, or do we need to price in USD?
  3. When the capped amount is reached, usage charges are blocked until the next cycle. Is there a supported way for the merchant to raise the cap, or for us to request a higher cap, without creating a new subscription?
  4. Which webhooks do you recommend for tracking subscription status, one-time purchase status and the approaching-cap notification, and are there any retry or ordering guarantees we should plan for?
  5. For refunds of one-time bundle purchases, how should we detect that a charge was refunded so we can reverse the credits in our ledger?

Kind regards,
Mariem, The BenJalTech Team

Your recap is correct on all four points @Mariem_el_Yahyaoui.

No need to price in USD. EUR is on the supported currency list, and both the one-time purchase price and the usage line’s cappedAmount accept it. The currency in appUsageRecordCreate must match the currency already set on the parent subscription’s cap, and it’s one currency per subscription. Check the merchant’s app-billing currency with shopBillingPreferences, not their storefront currency.

The cap can be raised without a new subscription. appSubscriptionLineItemUpdate takes the existing usage line item ID and the new cappedAmount, then returns a confirmationUrl the merchant must approve before the higher limit takes effect. Read the line item back and confirm the new cap server-side before recording more usage.

For webhooks, subscribe to APP_SUBSCRIPTIONS_UPDATE, APP_PURCHASES_ONE_TIME_UPDATE and APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT, which fires at 90% of the cap. Plan for at-least-once delivery. Failed deliveries retry up to 8 times over 4 hours and ordering isn’t guaranteed, so deduplicate with X-Shopify-Webhook-Id and reconcile against the API.

Refunds are the one gap without a real-time signal. AppPurchaseStatus never becomes refunded, so poll the Partner API instead. Historical events exposes EARNING_REFUND records with a chargeId you can correlate back to the original purchase, or use transactions filtered to APP_SALE_ADJUSTMENT. Confirm the refunded amount there before reversing credits. Historical events need to be enabled for your organization and refunds aren’t instant, so a short reconciliation delay is normal.

Hi @Mariem_el_Yahyaoui

Capped usage charges aren’t prepaid bundles. The cap is just the maximum usage amount the merchant approves for a billing interval on a usage line item (`appUsageRecordCreate` with `cappedAmount`); once the cap is hit, further usage records fail until the next cycle.

There’s no native credit balance or prepaid credits in the Billing API. What works is a subscription with a fixed recurring line item (or a one-time charge via `appPurchaseOneTimeCreate`) for the €20 bundle, plus a usage line item for pay-as-you-go overage. Track consumed credits yourself and only send usage records once the balance is spent. Mixing both is fine.

Does your bundle expire monthly or never?

Hi @Mariem_el_Yahyaoui, confirm the €20 one-time purchase server-side by querying currentAppInstallation { oneTimePurchases(first: 10) } and checking the status is ACTIVE, since a merchant can open the confirmationUrl and still abandon it. Also remember appUsageRecordCreate needs the subscriptionLineItemId of a usage line item that already has cappedAmount set, and each record lands on the next invoice, so credit consumption has to be idempotent on your side or a retried job double-charges. Which API version are you targeting?