@stripe is there any way of having meta data of a subscription object be copied over to the generated invoices such that you don't have to keep retrieving the subscription object to read passed through values?
-
Show this thread
-
Replying to @mattbrailsford
This isn't possible at the moment, sorry! You might find `expand` helpful to expand both invoice and subscription at once: https://stripe.com/docs/api/expanding_objects …
1 reply 0 retweets 0 likes -
Replying to @stripe
That wouldn't work for my situation as I'm talking within the context of a webhook request (I didn't specify this earlier) which I'm guessing you couldn't "expand" so I'll have to request the subscription manually.
1 reply 0 retweets 0 likes -
Replying to @mattbrailsford
Yep, you can't expand the data received in a webhook—you could retrieve the event from the API after getting the webhook and then use expand.
8:25 AM - 5 Dec 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.