#xfechx-retrieve-sub-checkout
1 messages · Page 1 of 1 (latest)
thanks
When you retrieve the checkout session via the API, it should have a subscription field
https://stripe.com/docs/api/checkout/sessions/retrieve?lang=node
https://stripe.com/docs/api/checkout/sessions/object?lang=node#checkout_session_object-subscription
but what does it return?
subscription ID
If you want the whole object then you'll need to expand it
yeah AFAIK the session object should have the subscription ID when you retrieve it