Event format
When an event occurs, Ledger sends aPOST request to your webhook URL with:
Headers
Every delivery includes these headers:| Header | Description |
|---|---|
X-Ledger-Event-Id | Unique event identifier |
X-Ledger-Event-Type | Event type (e.g. transaction.created) |
X-Ledger-Signature | HMAC signature for verification |
Event types
| Event | Description |
|---|---|
customer.created | New customer created |
customer.updated | Customer status or KYC changed |
wallet.created | Wallet provisioned |
virtual_account.created | Virtual account opened |
payout_account.created | Payout account added |
card.created | Card issued |
card.updated | Card status changed |
transaction.created | New transaction recorded |
transaction.updated | Transaction status changed |
dispute.created | Dispute filed |
dispute.updated | Dispute status changed |
webhook.test | Test event sent manually |
Retry policy
If your endpoint returns a non-2xx status code, Ledger retries with exponential backoff. You can view delivery history viaGET /v1/webhooks/:id/deliveries.