#supriya

1 messages · Page 1 of 1 (latest)

pure flintBOT
frail field
#

hi, can you elaborate in more technical detail about what you're trying to implement in code and what results you're getting?

amber badger
#

i am changing the stripe UI that means i am using checkout .js

#

its comming payment page

#

Once i click on the pay button its deducting the amount payment also sucessful but in the result json its showing payment intent id

#

so but i need charge Id

#

how can i get that

frail field
amber badger
#

i mean what is the curl format for that

frail field
#

can you try it yourself and show me what you have?

amber badger
#

For example i have a payment intent Id : pi_3NfjStBFBCpItuQH0UVeMe3y

#

so how can i the the charged related to this payment intent through API call

frail field
#

you retrieve the PaymentIntent from the API, and in the JSON response there is a latest_charge field that is the charge ID.