#cat.noir
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
๐ happy to help
you need to retrieve the invoice_lines https://stripe.com/docs/api/invoices/invoice_lines
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
actually scratch that
im using the nodejs library btw
is this related to a subscription?
yes monthly subscription
you have the subscription ID on the invoice
then you can use that to retrieve the subscription https://stripe.com/docs/api/subscriptions/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
uum, idk what you mean ๐ญ maybe its like this?
event.data.object.subscription gives you the subscription ID
then you need to call the retrieve a subscription API https://stripe.com/docs/api/subscriptions/retrieve with that value
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Yep, should work!