#tymm-subscription
1 messages ยท Page 1 of 1 (latest)
Step 2 is referring to adding one-off invoice item to the draft invoice of a subscription. You can do so by using Invoice Line Item create API with invoice ID of the draft invoice set in invoice param: https://stripe.com/docs/api/invoiceitems/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so i can put the priceid of the subscription item into this api and it will be one off?
It should be a one-off price ID, not recurring price ID for subscription item
so i would need to have a separate one off product with the same price for this to work?
then is there any difference with me generating a one off invoice and a subscription separately?
Yup
then is there any difference with me generating a one off invoice and a subscription separately?
It's a one-off invoice item to the invoice of the first subscription, not creating the a new one-off invoice
ok but is this the only way? seems kinda hacky
i don't think there's other way to achieve what you're looking for
aight, thanks
No problem! Happy to help ๐
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.