1. Idempotency in payment APIs

    Idempotency keys for POST /charges: retries, duplicates, stored responses, the in-flight lock, the TTL, and which status code to return in each case.