Idempotency
Networks fail. When a call times out you don't know whether it worked, so retry it, and we make sure it only happens once:
POST /v1/paymentsneeds anIdempotency-Keyheader (up to 120 characters; your order ID works). The same key and body returns the first answer. The same key with a different body is refused withidempotency_conflict.POST /v1/chargesandPOST /v1/checkout-sessionsuse yourreference: the same reference and amount returns the existing charge. The same reference with a different amount is refused withreference_used.