OptionalappearanceOptionalfieldPSP-vocabulary UI options, passed through to the SDK's field creation — untyped so every present and future SDK option stays reachable without a library release. The host wins on conflicts, except for keys the adapter must own to function (documented per adapter).
layout (tabs/accordion),
paymentMethodOrder, fields, defaultValues, terms, wallets, …fields (placeholder, accessibilityLabel,
iframeTitle, …), initializationTimeout, …OptionallocaleBCP-47 locale for the PSP's own field texts, where the SDK supports one.
OptionalonFires as the customer types, whenever field validity changes. Adapters fire it with { complete: false } once on mount so hosts can initialize button state, then on every SDK change event.
OptionalonErrors raised while the fields are live, such as the SDK failing after
mount() resolved, or while they render: an error the SDK reports during a
render that still succeeds arrives before onReady. A failure of mount()
itself rejects the returned promise; an adapter that also reports it here
passes the SAME error instance to both, so a consumer listening to both
reports it once by identity, as <PaymentFields> does.
Optionalon
Design-token passthrough so fields match the host app's look.