Skip to content

CheckoutElement

The payment element with its own Pay button. It runs every step of the payment; listen for (finished). A new referenceNumber replaces the element.

export declare class CheckoutElement extends PesepayElementDirective<"checkout">
NameTypeDescription
finishedOutputEmitterRef<CheckoutFinishedEvent>The payment has ended. Sent once.
optionsInputSignal<PaymentElementOptions>Options for the checkout element, with the transaction to pay. Required.