POST /api/public/orders/{orderId}/refund accepts an optional Idempotency-Key header: 1 to 255 printable ASCII characters, a new value for every refund and the same value when you retry that refund.
This page needs JavaScript. The same content is available as Markdown: /changelog/2026-10-21-refund-idempotency-key.md. Every document for agents is listed in /llms.txt.