idempotency_key_reused
HTTP 422 · The idempotency key was used with a different request
What happened. The Idempotency-Key was already used within the last 24 hours with a different request body or a different route.
What to do. Use a fresh key (a new UUID) for each new request, and the same key only to retry exactly the same request.
Returned by
Section titled “Returned by”- Sign a customer up —
POST /enrolments - A fresh claim link for a card never in a wallet —
POST /cards/{id}/claim-link - Link a card made at an outlet to a store account —
POST /cards/link - Give value for a sale —
POST /awards - Refund or void an award, in full or in part —
POST /awards/{reference}/reverse - Spend value now —
POST /redemptions - Reserve value against an online order —
POST /redemption-holds - Spend what a hold reserved —
POST /redemption-holds/{id}/confirm - Free what a hold reserved —
POST /redemption-holds/{id}/release - Add a webhook endpoint —
POST /webhook-endpoints - Roll the endpoint’s signing secret —
POST /webhook-endpoints/{id}/roll-secret
The answer
Section titled “The answer”Errors are Problem Details, served as application/problem+json, with "code": "idempotency_key_reused" and "type": "https://passkaar.com/developers/errors/idempotency_key_reused", which opens this page on docs.passkaar.com.