In this article
A retry can carry the same event with a new signature timestamp; freshness and duplicate processing are separate checks.
Distinguish the delivery clock from the event clock
The Stripe webhook guide includes a timestamp in Stripe-Signature, covered by the signature. The Event object reference separately defines created as the event object’s creation time. These timestamps answer different questions. A proposed receiver records authenticated delivery time separately from event creation and application processing time. Using the event’s older created value as the signature-freshness clock can reject an authentic delayed delivery for the wrong reason.
Expect retries to have newly signed delivery metadata
Stripe states that each delivery attempt receives a new timestamp and signature. Thus a retry need not reproduce the previous signature string even when the event identity is unchanged. An editorial delivery log should preserve both event ID and receipt attempt rather than treating a new digest as a new business event. Conversely, signature equality is not a durable event-deduplication key. A receiver’s processing state needs its own rule for an already known event.
Apply the SDK tolerance with its actual semantics
The official Node SDK implementation verifies the signed timestamp with the payload and applies a default tolerance of 5 minutes. Its tolerance value of 0 skips the age check rather than requiring exact simultaneity. A proposed configuration review therefore records the selected SDK version and tolerance meaning. Clock synchronization remains relevant, but increasing or disabling tolerance should not substitute for identifying whether a delay happened before verification or inside the application’s own queue.
Verify at receipt before delayed internal processing
The SDK distinguishes authentication and recency verification from parsing previously verified material. An editorial queue design can preserve the successful receipt-verification record and then process the authenticated message later. It should not claim that a delayed worker’s processing timestamp is the original network receipt time. Nor should it alter a retained header to make a stale signed request appear fresh. Test fixtures can model receipt and processing separately without accessing a Stripe account.
Keep the event identity through recovery
The Event contract provides an object ID independently of the signing envelope. A proposed recovery record connects that identity, the verified attempt and the outcome of application work. It should distinguish an accepted duplicate, unfinished earlier processing and completed work, rather than inferring all three from a successful HMAC. Operation ledgers explain those processing states; request correlation keeps event identity separate from transport attempts. This article covers delivery protocol behavior and performs no account or billing action.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.