The Checkout-owned Payment Element. It collects a customer's payment method inline or in a sheet.

This API is in private preview and can change without notice.

interface CheckoutPaymentElement {
    present(): Promise<void>;
}

Methods

Methods

  • Presents Payment Element in a sheet and resolves when it is dismissed.

    Returns Promise<void>