Why it matters
Send Idempotency-Key when calling payment or ticket APIs.
Practical steps
- Draw the boundary for misc idempotency headers: what belongs in the bot process vs a worker.
- Implement send Idempotency-Key when calling payment or ticket APIs behind a narrow interface so platforms can share it.
- Make misc idempotency headers idempotent at the message/update id layer.
- Add contract tests between the adapter and the core for misc idempotency headers.
- Document failure modes and ownership of misc idempotency headers for on-call.
Watch out for
- Copy-pasting outdated snippets for misc idempotency headers without re-reading current official docs.
- Shipping misc idempotency headers to production without a staging rehearsal and a documented rollback.