#Lucas M BLC

1 messages ยท Page 1 of 1 (latest)

vocal irisBOT
rose cradle
#

Hi ๐Ÿ‘‹ if you only the ID of the Payment Intent, then you'll need to use that as a filter when making a request to list Checkout Sessions. This will return the Checkout Session that created the Payment Intent, and on the Checkout Session object you'll find a reference to the Payment Link that created it.
https://stripe.com/docs/api/checkout/sessions/list
https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_link