Display data for the customer's currently selected payment option.

interface PaymentOptionDisplayData {
    image: string;
    label: string;
    sublabel?: string;
    billingDetails?: CheckoutElements.BillingDetails;
    paymentMethodType: string;
    mandateHTML?: string;
}

Properties

image: string

A Base64-encoded image representing the payment method.

label: string

Customer-facing label, for example Visa.

sublabel?: string

Optional secondary details, for example •••• 4242 for a card.

Billing details collected for the selected payment method.

paymentMethodType: string

The payment method, external payment method, or wallet type.

mandateHTML?: string

HTML mandate text to render when the element does not render it.