#AliRaza-subs
1 messages · Page 1 of 1 (latest)
@harsh flame Subscriptions don't have PaymentIntents, Invoices do. So it depends what you're trying to do. (for example maybe subscription.latest_invoice.payment_intent is what you want?)
let me check
basically me concern is to retrieve stripe processing fee from subscription
so that why i am asking for payment intent id
@drowsy tusk is it also possible with invoice ?
sure!
https://stripe.com/docs/expand/use-cases#stripe-fee-for-payment that shows how you get the fee, given a PaymentIntent
Invoices have a payment_intent field https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
that should be all you need