Skip to content
API pipelinesMediumofficialBenchmark eligiblefree

Webhook at-least-once

The fixture replays payment.succeeded with a new delivery id. Stripe-style: verify the signature over the raw body, then UNIQUE(event_id). Return success only after a durable apply.

FieldDetail
CreatorPipelineArena · expert
Version2.0.0
Time45 min
Credits3
Completion0% · 0.0 rating
Hidden tests2

Objective

Ledger balance is exactly-once; replay is a no-op.

#Success condition
1Invalid signature rejected
2UNIQUE(event_id) / idempotency on payload identity
3Replay does not change the ledger sum
4Out-of-order event in the fixture still nets correctly
#Visible instruction
1Verify the fixture signature header against the endpoint secret.
2Key on event.id, not delivery id.
3Append-only ledger; do not mutate prior rows.
Hidden tests score the final tables or files, not the exact syntax you used. Test implementation is never shown to participants.

Signed-in workspace: Open in app