When does grant.created fire?
A new row lands in the grants table with sanction details: funder, amount, programme, tranche schedule, sanctioned_at.
What developers build with it
- Mirror into finance ERP (Tally, Zoho, SAP)
- Update board-reporting MIS
- Trigger compliance kick-off workflow (PFMS registration, etc.)
- Alert finance team via Slack / email
Sample payload
The full envelope (with HMAC-SHA256 signature, delivery UUID and headers) is documented on the webhooks hub page. Below is the per-event data block for grant.created:
{
"grant_id": 33,
"ngo_id": 7,
"funder_name": "Tata Trusts",
"sanction_reference": "TT/2026-27/EDU/045",
"sanction_amount": 2500000,
"currency": "INR",
"sanctioned_at": "2026-05-10T00:00:00+05:30",
"programme": "Girl Child Education",
"tranches": 4,
"created_at": "2026-05-15T11:00:00+05:30"
}
Subscribe to this event
From your NGO dashboard, head to System · Webhooks · Add new. Paste your HTTPS endpoint, copy the signing secret, tick grant.created in the events list, save. The first matching event fires within seconds. Verify the X-Donateazy-Signature header on every request.
// PHP example - drop into your webhook receiver
$raw = file_get_contents('php://input');
$expected = hash_hmac('sha256', $raw, $WEBHOOK_SECRET);
if (! hash_equals($expected, $_SERVER['HTTP_X_DONATEAZY_SIGNATURE'] ?? '')) {
http_response_code(401); exit;
}
$payload = json_decode($raw, true);
if ($payload['event'] !== 'grant.created') {
http_response_code(202); exit; // not for this handler
}
// $payload['data'] is the block documented above.
handleGrantCreated($payload['data'], $payload['id']);
http_response_code(200);
All 20 webhook events
donation.created
donation.paid
donation.refunded
donor.created
donor.updated
donor.merged
receipt.generated
campaign.created
campaign.completed
grant.created
grant.disbursement
payment_link.used
service_order.created
service_order.assigned
service_order.in_progress
service_order.awaiting_govt
service_order.delivered
service_order.completed
service_order.cancelled
service_order.refunded