#deadshot-manualcapture-expiration
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- deadshot7814, 2 days ago, 13 messages
- deadshot7814, 5 days ago, 4 messages
- deadshot7814, 5 days ago, 17 messages
- deadshot7814-future-sub, 6 days ago, 24 messages
I am creating paymentIntent of capture_method: manual and confirm: true, Idk how to get expiration date, because i am using extended authorization
I can't find the expiration date in paymentIntent result
Also its not shown in dashboard?
How do i get this charge object from paymentIntent object i receive?
PaymentIntent has latest_charge: 'ch_123' which is the id of the Charge object. You can use the Expand feature https://stripe.com/docs/expand to access both together, or separately call the Retrieve Charge API https://stripe.com/docs/api/charges/retrieve
Yes accessing both together will be good
Can i expand charge when creating payment intent or I can only expand when retrieving?
expand works on all API requests so it's not really relevant. But if you create a PaymentIntent and there's no Charge at first (since you haven't confirmed yet) it won't expand anything (since there's nothing to expand). Otherwise it works fine