Skip to main content
The payment.initialized event is sent when VTPE creates a payment session for a reference. Use this event to create a pending payment record in your system. Do not fulfill the order yet; wait for the payment.success event before completing the transaction.

Event Data

string
required
Always payment.initialized.
string
required
The payment reference from your system.
number
required
The payment amount.
string
required
The currency code.
string
required
The unique VTPE payment identifier.

Payload Example

Handling This Event

Do not fulfill the order when receiving this event. Wait for payment.success before completing the transaction.