How to create a Stripe subscription plan using C# and


var planService = new StripePlanService();
StripePlanCreateOptions co = new StripePlanCreateOptions();
co.Amount = 15000;
co.Currency = "USD";
co.TrialPeriodDays = 10;
co.Name = "Test Plan";
co.StatementDescriptor = "Codw Lab Plan";
co.Interval = "month";

StripeRequestOptions rq = new StripeRequestOptions();
StripePlan plan = planService.Create(co, rq);



The code above will create a plan under stripe subscriptions.

Leave a Comment