#nick-idempotency
1 messages · Page 1 of 1 (latest)
Thanks!
Followup question if the 24 hours is indeed true.... Can that be configured to be longer? Context:
I'm using metered prices to track usage in our product. We report usage daily. I'd like to be able to at the end of the month go through and re-report usage per day utilizing that day's idempotency key, so that we can be sure that each day had usage reported (and no double reporting because of the idempotency key) in case something errored/didn't fire/etc during the month
I confirmed that i was able to re-use an old key with a new request so yes this is accurate -- the keys are meant for managing retries within relatively proximal time windows.
I wouldn't recommend doing that -- if you got successful requests when reporting earlier, that's sufficient, and you can track those requests on your side to review
Got it. Thanks for the info