#kapuma-sub-pi
1 messages · Page 1 of 1 (latest)
yes, you get the webhook Event, you make a retrieve call to fetch the Sub again and pass those expand options
I mean, Can webhook expand itself?
nope
what request are you making that is resulting in that error
well in that case you need no expands
my recommendation was if you were fetching the Subscription
I was explaining how you go from Sub -> Invoice -> PaymentIntent
but you already have PaymentIntent
so you just retrieve it
and pass no expands
But I receive payment intent object from subscription webhook
I need to subscription object cuz i need metadata object
So how can i get that from payment intent object?
Yep
Let me try
sorry it wasn't clear originally so I suggested the opposite!