Webhook Request Headers
Every webhook request includes these headers.Event Envelope
All webhook events share the same envelope structure:event field identifies the event type, and the data object contains event-specific fields.
Retry Behavior
VTPE retries delivery when your endpoint returns any non-2xx status code. To avoid duplicate processing, you should:- Return HTTP 200 as soon as you validate and queue the event.
- Implement idempotency checks using
paymentIdbefore performing any business action. - Process events asynchronously when possible to minimize response latency.
Acknowledging Events
Acknowledge every webhook event by returning HTTP 200 with this JSON body:Event Catalog
payment.initialized
Sent when a payment session is created for a reference.
payment.success
Sent when a payment is successfully confirmed.
payment.fail
Sent when a payment fails or is cancelled.
