#elBR
1 messages · Page 1 of 1 (latest)
Yes, a couple depending on your situation. Are you using trials at all here?
no I am not using trials
I just want to know that that invoice was the first one created for the subscription when I receive the webhook
which is the field that gives me this information?
billing_reason
It will be subscription_create for the first invoice and subscription_cycle for all invoices after
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I mentioned trials because for trials I think the first paid invoice will also have a reason of subscription_cycle so that would be something to keep in mind if you ever start using them down the line
ah ok, thank you