Payout Routes
Webhooks
Receive notifications when a payout route is created or its status changes
When a payout route is updated, esenda sends a payout_route.updated webhook to the configured partner_url.
These webhooks can be sent:
- After an onboarding request to create a new payout route has been processed.
- At any time if the organisation disables the payout route or it becomes inactive, for example because further verification is required.
Contact support to configure your partner_url. It must be configured before
you can receive payout route update webhooks.
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
{
"event_type": "payout_route.updated",
"id": "9c2e4f1a-7b3d-4e8a-a5c6-1f0d2b3e4a5c",
"external_id": "partner-generated-uuid-alpha",
"created_at": "2026-11-10T09:02:00Z",
"shortcode": "test-school",
"data": {
"payout_route_id": "8a1f3c52-6b0e-4f0e-9d4f-2f1c7f5b9a10",
"status": "active"
}
}Payload fields
| Field | Type | Description |
|---|---|---|
event_type | string | Always payout_route.updated. |
id | string | Unique webhook identifier (UUID). |
external_id | string | The identifier provided when requesting the payout route. |
created_at | string | ISO 8601 timestamp when the webhook was created. |
shortcode | string | The organisation's shortcode. |
data | object | The updated payout route's identifier and status. |
data.payout_route_id | string | Identifier of the updated payout route (UUID). |
data.status | string | Updated payout route status: active or inactive. |