docs(stripe): Added annual: true on the Create Subscription (#1725)

* Added `annual: true` on the Create Subscription on Stripe Docs

* docs: clarify comment for annual plan upgrade in Stripe integration
This commit is contained in:
Diogo Gaspar
2025-04-06 23:35:29 +01:00
committed by GitHub
parent 382f51f97d
commit dd9daa04a8

View File

@@ -208,6 +208,7 @@ await client.subscription.upgrade({
plan: "pro",
successUrl: "/dashboard",
cancelUrl: "/pricing",
annual: true, // Optional: upgrade to an annual plan
referenceId: "org_123" // Optional: defaults to the current logged in user id
seats: 5 // Optional: for team plans
});