Skip to main content
Settlement batch webhooks notify your HTTPS receiver when Akhdar creates or closes a settlement batch identified by settlement_id. They are outbound signed deliveries, not Akhdar REST paths. Use Webhooks for the shared envelope, signature verification, delivery semantics, and HTTP response expectations. Settlement batch events follow the same rules.
Settlement operations are not part of the partner server-to-server API documented here. Webhook data objects remain identifier-only; see each event in the API Reference.

settlement_id

settlement_id is the Akhdar-generated settlement batch identifier. Store it when you receive settlement.created so you can correlate a later settlement.closed for the same batch.

Events

funded is an environmental fulfilment status, not a settlement batch status. Do not infer funding or planting outcomes from settlement batch webhooks alone.

Example payloads

Field definitions and required properties are in the API Reference.

Verify, deliver, and deduplicate

  1. Verify — Validate X-Akhdar-Signature using HMAC-SHA256 over X-Akhdar-Timestamp, ., and the raw request body. Enforce the five-minute timestamp window. See Webhooks.
  2. Respond — Return any HTTP 2xx when you accept the event. No response body is required.
  3. Deduplicate — Delivery is at-least-once. Process idempotently using event_id. Retries reuse event_id and send a new delivery_id.
A duplicate settlement.created or settlement.closed for the same event_id must not change your stored outcome.

API Reference