The mount method attaches the PaymentUIComponent to the DOM. It accepts either a CSS Selector (e.g., '#card-component') or a DOM element. You need to create a container DOM to mount a PaymentUIComponent.

Method Parameters

domNode required string | HTMLElement
The CSS selector or DOM element where your PaymentUIComponent will be mounted.

<div id="card-component"></div>