#elbershayz1
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.
- elbershayz1-request-error, 13 minutes ago, 4 messages
so when the "Hold", or "authorization" ( By default, the authorization expires in 7 days.) expires, is that also triggering a "charge" expiring? And so the charge.expired event?
Or what's the best way to listen for expiring holds?
https://stripe.com/docs/payments/place-a-hold-on-a-payment-method
The charge.expired event is what you are looking for https://stripe.com/docs/api/events/types#event_types-charge.expired
If you need the Payment Intent you can look that up using the Charge.payment_intent property, which will be the ID of the Payment Intent https://stripe.com/docs/api/charges/object#charge_object-payment_intent
ok perfect thank you.
Long shot, but there's no special way to force a hold to expire for testing is there? instead of waiting the 7 days?
Not that I know of, no
ok thanks. would be a great feature