API CONTRACT PREVIEW · V0
Webhooks
Keep your application in sync.
Design contract, not a live API. All hosts use reserved .example domains. These examples do not perform real payments.
Overview
The proposed design signs the timestamp and raw request body with HMAC-SHA256. Verification, timestamp tolerance and constant-time signature comparison must happen on your server. This demo does not sign or deliver real events.
Implementation notes
- 1
Verify the signature before parsing or processing the event.
- 2
Deduplicate by event ID and respond quickly after durable enqueue.
- 3
Expect retries and out-of-order events; retrieve the current payment state.
EVENT
payment.* Example payload DRAFT CONTRACT
{
"id": "evt_demo_001",
"type": "payment.confirmed",
"created_at": "2026-11-07T12:04:25Z",
"data": { "payment_id": "pay_demo_1048" },
"sandbox": true
}
Before production
Server-side authentication, input validation, wallet ownership checks, network monitoring, finality policy, signature verification and operational controls require separate implementation. Fulfill orders only from a verified backend state.
CONTINUE EXPLORINGError handling