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

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

Properties

image: string

A Base64-encoded image representing the payment method.

label: string

Customer-facing label, for example •••• 4242.

billingDetails?: Checkout.BillingDetails

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.