#NESH

1 messages · Page 1 of 1 (latest)

orchid blazeBOT
hazy hollow
#

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"]

snow birch
#

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 ?

hazy hollow
#

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.

snow birch
#

how do you mean, I know I can expand by one layer, but how would look like to go that deep 2-3 times

hazy hollow
snow birch
#

aha, I see, thanks

hazy hollow
#

Happy to help!