#Yaziiit-payment-intent-subscription
1 messages · Page 1 of 1 (latest)
Hi 👋 the Payment Intent has an invoice parameter containing the ID of the invoice that it is associated with. If you retrieve that invoice then you can see the related subscription by checking the subscription parameter.
https://stripe.com/docs/api/payment_intents/object#payment_intent_object-invoice
https://stripe.com/docs/api/invoices/object#invoice_object-subscription
thanks bro