#MarcusStripe
1 messages · Page 1 of 1 (latest)
Credit notes have an invoice object on them. So you should be able to get the invoice it was applied to and check the period the same way https://stripe.com/docs/api/credit_notes#credit_note_object-invoice
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
wait, then you mean probably using the api
I was refering to the webhook
is there a way to get it also directly over the webhook?
Webhooks can't auto-expand data, you would need to retrieve the invoice that had an ID in the event
Otherwise it doesn't look like credit note objects have time period data on them
yeah did that now thanks