#juni-checkout-event

1 messages · Page 1 of 1 (latest)

celest nimbus
#

Hello! I'm not sure I understand what you're discussing. What is "SessionResource"? Where does that come from?

young vine
#

On the list of events here (https://stripe.com/docs/api/events/types?lang=node) checkout.session.completed (not paid, sorry) says the event type is a "checkout session". Going to that link, it shows me docs for the Session object. Intuitively, I would expect there to be a Stripe.Session type similar to how there's a Stripe.Customer type for the Customer object.

#

How should I type-annotate this event object since this doesn't exist?

#

And/or is there existing typescript documentation for stripe?

#

Oh I see, for some reason Stripe.Checkout.Session slipped past me

celest nimbus