idempotencyKey you supply on
POST /v1/rewards. This makes retries — after a timeout, network blip, or double-click —
safe.
How it works
- Generate a fresh
idempotencyKeyper stock award (a UUID is ideal). Reuse the same key when retrying that same award. - The key is unique per app and must be 8–128 characters.
The award is created.
idempotentReplay is false.The original award is returned unchanged and
idempotentReplay is true. No duplicate
is created.Returns a
conflict error — a key can’t be reused for a different award.