#Kobweb
1 messages ยท Page 1 of 1 (latest)
Hello ๐
What have you tried so far?
For the moment, i use that :
const invoices = await this.stripe.invoices.list({
customer: myUser.stripeCustomerId,
limit: 100
})
And i don't know how to know if it's linked to an incomplete subscription or not
you can expand subscription property on the invoice
https://stripe.com/docs/api/invoices/object?lang=curl#invoice_object-subscription
Then you can filter based on the status of subscriptions
Unfortunately, there aren't any parameters that can do this out of the box at the moment.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok thanks it works !
NP! ๐ Happy to help