Idempotency-Key header on any POST request.
How it works
- If a request with the same
Idempotency-Keyhas already been processed, the API returns the original response without executing the operation again. - Idempotency keys are scoped to your Platform and expire after 24 hours.
- Keys can be any unique string up to 256 characters. UUIDs are a good choice.
When to use idempotency keys
Use idempotency keys on any request where a retry could cause unintended side effects, especially:- Creating transfers to prevent duplicate payments.
- Creating Accounts or Entities to prevent duplicate resources if a network timeout occurs.