PlatformDTC
EnterprisePricingAbout UsAnswersBlogDocs
  1. Home/
  2. Glossary/
  3. Idempotency key

Agentic commerce

Idempotency key

An idempotency key is a client-supplied identifier that lets a server recognise a retried request as the same logical operation, so submitting it twice takes effect once.

It matters most precisely where failure is ambiguous. A request that times out at the network layer may or may not have executed; without a key, the safe-looking choice — retry — is how one refund becomes two and one charge becomes two.

Agents make this failure mode routine rather than rare. They retry automatically, often more aggressively than a human would, and they do it against endpoints that move money. Any write operation exposed to an agent that does not accept an idempotency key is a double-execution waiting for a slow network.

Related terms

  • Agent gateway
  • MCP (Model Context Protocol)

One platform for the whole order lifecycle

Storefronts, subscriptions, payments, inventory and fulfilment on one system — operated by agents through a scoped, audited gateway.

Talk to salesCheck your store — free

PlatformDTC

One platform to run your brand. Agents included.

Resources

  • Answers
  • Glossary
  • Agent Readiness Checker
  • DTC AI Crawler Index
  • Blog
  • Pricing
  • Explore all pages

Company

  • About Us
  • Enterprise
  • Talk to Sales
  • Contact
  • Developer Docs
  • System Status
  • Community

Legal

  • Terms of Service
  • Privacy Policy
  • Security
  • All policies

© Copyright 2026 PlatformDTC. All Rights Reserved.