POST requests. The Partner API does not currently enforce an Idempotency-Key header. Retrying POST /v1/orders with the same body can create duplicate orders.
Recommended client pattern
Usemerchant_reference as your own idempotency key:
- Generate a unique
merchant_referenceper intended order (UUID) - Persist it before you call the API
- On
5xxor timeout, retry with the samemerchant_reference - On success, persist
data.referenceand stop retrying
event + data.reference as a deduplication key. Delivery retries can produce duplicates.