WAB WATCH and Idempotent Smart Delivery
WATCH LIST returns merchant-side observation records. A delivery worker can poll the documented endpoint and match the persisted watch identifier.
curl -fsS -X POST https://api.wab.codes/api/v5/btc/watch/list \
-H "X-BTC-KEY: $KEY" -H 'Content-Type: application/json' \
-d '{"net":"test","type":"taproot"}' | jq .
Inspect result.watches, matching watch_id, address, expected_sat, accepted_sat, expiry and status. Do not infer payment from global mempool health. SEEN is provisional evidence and can be affected by replacement, eviction or conflicts. Define the accepted observation and confirmation policy before issuing an invoice. A low-risk reversible service may accept SEEN; an irreversible or expensive delivery should require stronger evidence.
Implement Webhook Smart as a developer-controlled fulfillment concept: persist a unique order delivery key, atomically claim a pending job, execute an idempotent delivery action and record its outcome. If the worker crashes after delivery, reconcile the downstream result before retrying. No native webhook URL or fixed detection latency is asserted. Use bounded polling and backoff; avoid load testing the shared lab.
Laboratory: https://thamer.org/lab
API reference: https://thamer.org/api
Terms: https://thamer.org/tos
Testnet only. This procedure has not been executed as part of this publication.
