in my app i want to list past purchases for a stripe customer. So I was looking at the relevant API objects like PaymentIntents
, Sessions
or Charges
. But they all do not seem to contain any reference to Product
or Price
, which I would need to list the purchased products.
Subscriptions
contain a list of items that are contained in that subscription, so I was expecting PaymentIntents
to have something like that too.
Does anyone has an idea how to archive my list of past purchases? Thanks!