#NESH
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
You can find the payment_intent, from there invoice and from Invoice the related subscription.
You can expand the event to include those objects:
["payment_intent.invoice.subscription"]
hmm, how to expand event? I read somewhere that event object cannot be expanded, is that true, if not do you have an example with .net sdk? Only getting those object separately which does not seem as a good solution imo ?
This might be the case with .net. Getting the objects separately is perfectly fine too.
What you can do also is expand it when you GET the first PaymentIntent.
how do you mean, I know I can expand by one layer, but how would look like to go that deep 2-3 times
options.AddExpand("invoice.subscription");
aha, I see, thanks
Happy to help!