#Anureet

1 messages · Page 1 of 1 (latest)

grand idolBOT
lilac forge
#

hello! you can make a request to retrieve the PaymentIntent [0][1] and expand [2] the response to include latest_charge.balance_transaction. The corresponding Balance Transaction in the response will contain the fees

[1] https://stripe.com/docs/api/payment_intents/retrieve
[2] https://stripe.com/docs/api/expanding_objects

placid condor
#

I am using setupintents for creating the payment method which is used further.
How can i get the paymentIntent id when i create a setupintent?

lilac forge
placid condor
#

So I have to create the paymentIntent after i get the payment_method_id ?

lilac forge
#

yes

placid condor
#

I have to accept the payments later, even my subscription is also created later. I am only collecting the payment details earlier.