x402

Idempotency (in payments)

A guarantee that retrying the same paid call with the same identifier results in at most one charge.

Idempotency is the critical safety property for payment systems. A buyer who's unsure whether a network blip caused their last charge to land must be able to retry without risking a second debit.

Mission Control delivers idempotency at two layers: at the wire via the x402 payment-identifier extension (vendors deduplicate by the identifier we send), and at the local DB via a UNIQUE constraint on (payment_intent_id, idempotency_key). Both must hold for a duplicate to be impossible.

Related