Trail Webhook status i only get ACTIVE

Billing APi webhooks for trial and status of trailing

  • We are using manual billing option in API

  • I create a subscription via AppSubscriptionCreate

  • i have set trial days to 7 days

  • Now I need to get an event when the trial ends and the card is charged

  • Also i need to be able to trigger a charge before 7 days if the user has spent more than their trial limit (we call that credits )

Do we get events for Webhooks every month for a subscription

  • Like card is charged for that month or something in that appSubscriptionID

Let us know how we can implement this better

think you guys don’t have
trialing to active https://shopify.dev/docs/api/admin-graphql/latest/enums/AppSubscriptionStatus

And I receive directly the Active status after payment is approved from Admin dashboard

1 Like

Hey @Abhishek_Gawade,

There is no TRIALING status. Subscriptions go PENDING → ACTIVE immediately when the merchant approves, and the trial delays the recurring fee via the trialDays field.

For your credits/overage scenario, usage-based pricing is how you can manage that. You can create usage charges with appUsageRecordCreate and those get included immediately on the merchant’s next invoice, even during trial. Make sure you include the usage pricing when you create the subscription so the merchant opts into those charges upfront.

For notifications, subscribe to APP_SUBSCRIPTIONS_UPDATE. That fires when billing cycles start and when the subscription moves from trial to paid. You can check currentPeriodEnd on the subscription to track where you are in the billing cycle.