#Réda
1 messages · Page 1 of 1 (latest)
A subscription can have multiple payment intents for the invoices from different billing cycle. If you wish to get the payment intent of the latest invoice, you can expand latest_invoice in Subscription retrieval request and look for latest_invoice.payment_intent:
- Subscription retrieval: https://stripe.com/docs/api/subscriptions/retrieve
- Expand a field: https://stripe.com/docs/api/expanding_objects
thanks, exactly what i needed ! have a nice day