#supriya
1 messages · Page 1 of 1 (latest)
hi, can you elaborate in more technical detail about what you're trying to implement in code and what results you're getting?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i mean what is the curl format for that
can you try it yourself and show me what you have?
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
you retrieve the PaymentIntent from the API, and in the JSON response there is a latest_charge field that is the charge ID.