Endpoint Configuration
To receive events, configure a publicly reachable HTTPS URL in the Gale Dashboard. Gale will send signed JSON payloads to this endpoint.- Method:
POST
- Content-Type:
application/json
- Header:
X-Gale-Signature
Signature Verification
All webhook requests are signed using HMAC-SHA256 to ensure authenticity.Header format:
How to verify:
- Extract the
t
(timestamp) andv1
(signature) values. - Prepend the timestamp and raw request body with a period (
.
):
t + "." + raw_body
- Hash this string using your webhook signing secret (found in the dashboard).
- Compare the result to
v1
using a timing-safe comparison.
Events
checkoutStatusChange
UNPAID
, PAID
, REFUNDED
, CANCELLED
, EXPIRED
productStatusChange
sigis_eligible
, lmn_eligible
, vision_eligible
, not_eligible
Retry Policy
Attempt | Delay |
---|---|
1 | Immediate |
2 | 30 seconds |
3 | 2 minutes |
4 | 10 minutes |
200 OK
response within 5 seconds to avoid retries.