Create a Chargebee subscription with a free trial and configure invoice collection settings via the Chargebee API

domain: chargebee.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a subscription with POST /api/v2/subscriptions using customer, subscription.plan_id, subscription.trial_end (Unix timestamp) or subscription.trial_period_days, and billing_address fields
  2. Set subscription.auto_collection=on to enable automatic charge collection; set to off for manual invoicing workflows
  3. Retrieve the hosted payment page URL with POST /api/v2/hosted_pages/checkout_new to let customers self-serve their subscription start
  4. Listen for subscription_trial_end_reminder webhook (fires before trial ends) to prompt customers to add a payment method
  5. On subscription_activated event webhook, confirm that subscription.status equals active before fulfilling entitlements
  6. Retrieve subscription details and upcoming invoice with GET /api/v2/subscriptions/SUBSCRIPTION_ID?include[]=subscription_items

Known gotchas

Related routes

Create subscriptions and use hosted pages for checkout in Chargebee
chargebee · 6 steps · unrated
Create a Stripe subscription with a trial period
stripe.com · 4 steps · 100% success
Implement Chargebee subscription lifecycle management including pause, resume, and plan change with proration
apidocs.chargebee.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans