Skip to content

PaymentElementOptions

Options for elements.create("payment").

export interface PaymentElementOptions extends Pick<BaseElementOptions, "className" | "theme" | "disabled" | "ariaLabel">
NameTypeDescription
referenceNumberstringThe transaction to list methods for, price and pay.
returnUrl?stringWhere Mastercard and Zimswitch bring the customer back to, as an absolute http(s) URL. Defaults to this page. See HostedCardElementOptions.returnUrl.