#Fireenn
1 messages · Page 1 of 1 (latest)
Yeah that would need to be a separate call if you want to update the metadata on the invoice itself
ah okay
That being said, the subscription's metadata will automatically show up on the invoice items related to that subscription
So if you set the metadata on the subscription itself, you can see the results on the invoice without making a separate call
hmm is there a way to be able to get to a subscription id through a payment_intent.payment_failed webhook?
The payment_intent will have an invoice property, you can retrieve the invoice and expand the invoice's subscription property, which would get you all of that subscription's information
okay thanks