#Hugues
1 messages · Page 1 of 1 (latest)
Hey there, with a normal subscription creation you can include items for one time payments on the first invoice at creation, or add to future invoices later
For the schedules you're using, are these to start subscriptions in the future?
Or are you only referring to schedules as a possible way to achieve this result?
I use the schedule to start the monthly payments from the first of the next month.
The deposit shall be charged immediately.
Hmm I don't think you need a schedule to achieve this
How could you do that with a simple subscription?
You can use add_invoice_items to put one-time payment items (like you deposit) on the first invoice
https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If the subscription payment part isn't meant to happen the first month, you can combine this with eg a trial period
Using either trial_period_days or trial_end
https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_period_days
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks, I'll check that.