When idempotency is required
Header
- Max length: 255 characters
- Use a fresh UUID (or similar unique string) per distinct operation
- TTL: 24 hours (configurable server-side via
IDEMPOTENCY_TTL_SECONDS)
Behavior
- First request with a given key → processed normally; response cached in Redis.
- Retry with the same key, org, HTTP method, and path → cached response returned without re-executing.
- Different operation → use a new idempotency key.
Example: create payment route
Endpoints that require idempotency (API key)
AllPOST and DELETE endpoints in this reference, including:
POST /customersPOST /payment-routes,POST /payment-routes/{paymentRouteId}/deposits/sync,DELETE /payment-routes/{paymentRouteId}
Errors
Failed requests are not cached — safe to retry with the same key after fixing the error.