#chirag-Payment
1 messages · Page 1 of 1 (latest)
Hi there, there is no associate between the payment intent and the purchase product, so you cannot find it from the payment intent object.
Are you using Checkout? if so you can get it from the line_items list from the checkout object.
Since I could see the Items section in the Stripe dashboard under payments tab, so I believed products data to be available with Payment intent API as well.
I created payment using payment link(generated within Stripe dashboard -> Products).
Which API is suitable for this?
When your customer opens the Payment Link, it would create a Checkout session under the hood.
so you can use the Checkout Session object via API or listen to the Checkout session complete webhook event