Skip to content
Astera Technology

Define when a webhook can be acknowledged

Separate durable receipt from downstream completion and test a worker crash between them.

Make the acknowledgement mean one thing

Stripe recommends returning a successful response quickly before complex work. Design a short verified receipt path, with durable accepted work and a retryable worker. Do not send success merely because an in-memory task was created. The durability boundary is your implementation decision.

Synthetic acknowledgement boundary
StateReceipt evidenceResponse decision
Signature invalidNo accepted eventReject
Queue write failedNot durableDo not claim accepted work
Event saved; worker pendingEV-31 and pending state committedAcknowledge receipt, not completion
Download editable CSV ↓

Recover from the saved receipt

Test process termination immediately after receipt is stored and before the response is sent. A subsequent delivery should discover the same work item. Keep downstream failure visible in the work ledger even though the sender received success.

The sender received 2xx, but the worker cannot contact the target. Was the integration finished?

Show the worked answer

No. Only the defined receipt boundary passed. Keep downstream work pending, retry under its own budget and expose an operational failure if that budget ends.

Related resources

System integration services →