#lucynoodles20

1 messages · Page 1 of 1 (latest)

warm spearBOT
full sapphire
#

Recommend reading: https://stripe.com/docs/api/idempotent_requests

Stripe's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key, regardless of whether it succeeded or failed. Subsequent requests with the same key return the same result, including 500 errors.
So the request would fail if retried within 24 hours. But since you said you'd try again 3 days later, it might succeed:
Keys are eligible to be removed from the system automatically after they're at least 24 hours old, and a new request is generated if a key is reused after the original has been pruned. The idempotency layer compares incoming parameters to those of the original request and errors unless they're the same to prevent accidental misuse.

light fox
#

I see, thanks!