Giveaway event

Giveaway lifecycle events, POSTed to your tenant webhook endpoint (never a per-order callback_url). Every data carries giveaway_id and the external_ref you set at create. giveaway.awaiting_funding carries the payment instruction (one-time deposit address, memo: null). giveaway.entries is sent only for a giveaway created with entries_events: true, in batches of up to 100 entries.

Same verification, retry and ordering rules as Campaign event. Giveaway events carry no sequence; order by created_at.

postWebhookgiveawayEvent

Headers

X-Faas-Signature-V2string required
Example:t=1767225600,v1=e1f32ca4e1313c2f4f319d7d7499fcf5ac41714d2a995aa06f066b6607c47e65

t=TIMESTAMP,v1=SIGNATURE: TIMESTAMP is the send time in unix seconds (re-stamped on every attempt) and SIGNATURE the hex HMAC-SHA256, under your webhook secret, of the string TIMESTAMP + "." + raw body. The HMAC key is the secret as text (its UTF-8 bytes, not hex-decoded) and the body is the exact bytes received, before any JSON parsing. One v1 per active secret (current first) during a rotation. Accept when any v1 matches (constant-time compare) and TIMESTAMP is within 5 minutes of your clock. The example is the developer guide's test vector (secret whsec_vector_one, TIMESTAMP 1767225600).

X-Faas-Signaturestring required

Legacy signature: hex HMAC-SHA256 of the raw body under your webhook secret (the secret's text as the key, not hex-decoded), comma-separated during a secret rotation. Prefer X-Faas-Signature-V2, which also covers the send time.

X-Faas-Event-Idstring uuid required

The event id, identical on every attempt — the dedup key (equals the body id).

X-Faas-Event-Typestring required

The event type, for example campaign.paid or order.delivered (equals the body type).

Payload

OR
OR
OR
OR
OR
OR
OR
OR

Example payload

{
  "api_version": "2.3.0",
  "data": {
    "payment": {
      "chain": "ton"
    }
  }
}

Response

Acknowledged. Any 2xx stops retries.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.