Skip to content

ElementStatusEvent

Sent by the mobile and payment elements as a mobile money payment progresses.

export interface ElementStatusEvent
NameTypeDescription
approveBy?numberWith awaiting_approval: when the prompt expires, in epoch milliseconds.
elementType"mobile" | "payment"The element that sent the event.
statusElementPaymentStatusunknown is also sent when no answer came in time: the customer may still approve, so don’t take the money again. Your webhook has the result.
transaction?TransactionThe latest transaction seen; absent only when none could be read.