Payouts
Payout Webhooks
Receive notifications when payouts are created or change status
Esenda sends a webhook when a payout on one of your payout routes is created or its status changes, so you don't need to poll the payouts list.
Payout webhooks are sent to your partner webhook URL.
Events
| Scenario | Event Type |
|---|---|
| A payout is created | payout.updated |
A payout's status changes, for example from scheduled to paid | payout.updated |
All payout webhooks use the payout.updated event type. Use data.status to see what the payout's status is now.
The webhook carries the payout's ID, payout route ID and new status only. To get its amounts and dates, call get payout by ID.
HMAC Signature Verification
All webhooks include an X-Hmac-Signature header. Use the webhook HMAC shared secret provided by Esenda with SHA-512 to verify authenticity.
Webhook Headers
Content-Type: application/json
X-Hmac-Signature: <hmac_signature>Webhook Payload
{
"id": "5c0f2e9a-3d47-4b8e-9a61-7e2d4f1b8c35",
"created_at": "2026-11-10 09:15:02.481233",
"event_type": "payout.updated",
"shortcode": "test-school",
"data": {
"payout_id": "001a7b06-6ca9-4c05-8d6a-df5d9d9db7e3",
"payout_route_id": "8a1f3c52-6b0e-4f0e-9d4f-2f1c7f5b9a10",
"status": "paid"
}
}Payload Fields
| Field | Description | Example |
|---|---|---|
id | Unique webhook identifier (UUID) | UUID |
created_at | When the webhook was created, in UTC | 2026-11-10 09:15:02.481233 |
shortcode | Organisation shortcode | test-school |
event_type | Webhook event type | payout.updated |
data | Object containing the payout ID, payout route ID and status | See below |
data.payout_id | UUID payout identifier | UUID |
data.payout_route_id | The payout route paid into | UUID |
data.status | The payout's status | scheduled, paid, failed |