Withdrawal expired
A withdrawal session reached its expiry without being paid. Nothing was charged and nothing will arrive — release any inventory you reserved and stop waiting on this order. The session is terminal: a payer returning to the link sees an expired screen, so issue a new one.
Verifying the signature
Every delivery carries two signature headers. Prefer x-hypermid-signature-v2:
Compute HMAC_SHA256(secret, "<t>.<raw body>") and compare in constant time.
The timestamp is inside the signed string, so a captured delivery cannot be
replayed later with a fresh t — reject anything older than your tolerance
(5 minutes is typical).
During a secret rotation the header carries two v1= values, the second
signed with the previous secret. Accept the delivery if either matches; that
overlap is what stops an in-flight retry from failing the moment you rotate.
x-hypermid-signature is the legacy bare-hex header — HMAC_SHA256(secret, raw body)
with no timestamp binding, current secret only. It is still sent for existing
integrations, but it has no replay protection. Do not build new verifiers on it.
Delivery guarantees
Delivery is at-least-once. Retries mean the same data.id can arrive more
than once, so treat the handler as idempotent: key on data.id and ignore an
id you have already settled.
Respond 2xx promptly. We time out at 10 seconds and count anything else as
a failure worth retrying, so acknowledge first and do slow work afterwards.
Headers
Body
Response
Acknowledged. Any 2xx stops retries; anything else — or no response within 10 seconds — is retried, so return this BEFORE doing slow work.
The body is ignored. Returning one is optional.