#Mytras
1 messages · Page 1 of 1 (latest)
Hi, I tried to use "Create a subscription" but I receive an error unknown parameter "start_date", and when I look at the documentation for scheduled subscription i do not see the paramenter "trial_end"
so I am a bit puzzled on what to use exactly
You will need Subscription Schedule. When you create it, you specify multiple phases. In x first phase you can set it as trial: https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-phases-trial
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
It's a bit complicated API, so I recommend playing with it in Test mode,
ok
so I should create phases items for each phases even tho the items is the same subscription?
yes!