API docs · 5 of 14
Safe retries (Idempotency-Key)
Networks drop connections. To retry a request without charging or paying twice, send an Idempotency-Key header on every POST. Use something unique to the action, like your order number.
Idempotency-Key: order-1042If we have already seen that key on your account, we return the first response again (same status code and body) and do nothing else. Keys can be up to 100 characters.