POST with a secret key requires an Idempotency-Key header (1 to 255 characters).
- Derive keys from your own records (
order-1001-checkout,refund-request-8812) so every retry of the same action uses the same key. - Keys are kept for 24 hours.
- Client errors (4xx) are stored and replayed. Server errors (5xx) release the key so you can retry.
@kalixo/checkout-nodesends a key on everyPOSTand reuses it for its automatic retries.