#stevec-paymentintent-cancellation

1 messages · Page 1 of 1 (latest)

eager tundraBOT
pearl flicker
#

stevec-paymentintent-cancellation

jolly mesa
#

Gotcha. So basically record in my application's db all the payment_intents and their creation time, and run a process to cancel via the API any that are too old (e.g. 10 minutes old, for example).

#

Is there a way to set an expiry when creating the payemen_intent? E.g. so it will naturally exprire after that time elapses?

pearl flicker
#

correct for the first part, and no, no way to schedule an upcoming cancellation today, you have to write this yourself

jolly mesa
#

Cool. Thanks for the help! (and very quick too, I might add)