settlement.closed
Delivered when a settlement identified by settlement_id has been closed. Closed
settlements are immutable. This is not an Akhdar REST path. The payload is identifier-only
plus status: closed.
Verify the signature, enforce the five-minute timestamp window, and process idempotently by
event_id. Settlement operations are not part of this API.
Headers
HMAC-SHA256 signature of this delivery.
Format: v1=<hex-encoded-hmac>.
Computed over timestamp + "." + raw_request_body using the environment-scoped webhook
signing secret, where timestamp is the exact X-Akhdar-Timestamp value and
raw_request_body is the exact bytes sent before JSON parsing or reformatting.
During an overlap window, current and previous secrets only (max two) may verify.
HMAC-SHA256 hex digest formatted as v1=<hex-encoded-hmac>. 64 hexadecimal characters
are the SHA-256 digest encoding.
^v1=[0-9a-fA-F]{64}$"v1=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
Delivery timestamp used as the HMAC timestamp string.
ISO 8601 UTC. Must equal the envelope timestamp.
Partner receivers must accept timestamps only within 5 minutes before or after receipt
and must reject deliveries outside that tolerance.
ISO 8601 UTC timestamp.
"2026-08-03T12:00:00.000Z"
Logical event identifier. Must equal envelope event_id.
Stable across retries and redelivery attempts. Partner receivers must use this value
for idempotent processing.
Akhdar-generated logical webhook event identifier. Unique per business event. Stable across retries and redelivery attempts. Distinct from partner_event_id and from delivery_id.
8 - 128^[A-Za-z0-9._:-]+$"evt_wh_01HZX8A1B2C3D4E5F6G7H8J9"
Unique identifier for this delivery attempt. Must equal envelope
delivery_id. A new value is allocated for every automatic retry and for platform redelivery. Manual replay does not create a new business event.
Akhdar-generated identifier for a single webhook delivery attempt. Unique per attempt, including automatic retries and redelivery attempts.
8 - 128^[A-Za-z0-9._:-]+$"dlv_01HZX8B2C3D4E5F6G7H8J9K0"
Body
Akhdar-generated logical webhook event identifier. Unique per business event. Stable across retries and redelivery attempts. Distinct from partner_event_id and from delivery_id.
8 - 128^[A-Za-z0-9._:-]+$"evt_wh_01HZX8A1B2C3D4E5F6G7H8J9"
Akhdar-generated identifier for a single webhook delivery attempt. Unique per attempt, including automatic retries and redelivery attempts.
8 - 128^[A-Za-z0-9._:-]+$"dlv_01HZX8B2C3D4E5F6G7H8J9K0"
settlement.closed "settlement.closed"
Event-contract version for the payload shape. Current deliveries use 1.
1 - 32^[A-Za-z0-9._:-]+$"1"
ISO 8601 UTC timestamp.
"2026-08-03T12:00:00.000Z"
Identifiers for settlement.closed. The payload remains identifier-only.
Response
Partner accepted the delivery. Any HTTP 2xx is success. Akhdar does not require a response body.

