@checkout-kit/core / EngineEvent
Type Alias: EngineEvent
ts
type EngineEvent =
| {
phase: CheckoutPhase;
previous: CheckoutPhase;
type: "phase_changed";
}
| {
providerId: string;
type: "provider_changed";
}
| {
intent: PaymentIntent;
type: "intent_created";
}
| {
action: PaymentAction;
type: "action_required";
}
| {
action: PaymentAction;
surface: ActionSurface;
type: "action_started";
}
| {
action: PaymentAction;
evidence: ActionEvidence;
type: "action_finished";
}
| {
result: PaymentResult;
type: "result";
}
| {
error: PaymentError;
type: "error";
};