Webhooks
Tavio uses webhooks to notify your server of payment events in real time. Register a webhook endpoint in the Dashboard or via the API, and Tavio willPOST event data to that URL whenever a payment status changes.
Registering a Webhook
Event Types
| Event | Triggered When |
|---|---|
payment.pending | Payment created and awaiting payer action |
payment.processing | Funds received, conversion in progress |
payment.completed | Settlement confirmed for merchant |
payment.failed | Payment expired or encountered an error |
payout.initiated | Payout job started |
payout.completed | Recipient funds delivered |
payout.failed | Payout could not be completed |
invoice.paid | Invoice fully settled |
invoice.overdue | Invoice due date passed unpaid |
refund.created | Refund initiated |
refund.completed | Refund delivered to payer |
Webhook Payload
Verifying Webhook Signatures
All Tavio webhook requests include aTavio-Signature header. You should verify this signature using your webhook secret to ensure the request originated from Tavio.