Skip to content

@checkout-kit/provider-hosted-fields / HostedFieldsConfig

Interface: HostedFieldsConfig ​

Extends ​

  • Pick<HttpClientConfig, "headers" | "credentials">

Properties ​

PropertyModifierTypeDescriptionInherited from
baseUrlreadonlystring--
credentials?publicRequestCredentialsInclude merchant-session cookies when the API is on another origin.Pick.credentials
fieldsOriginreadonlystringOrigin of that frame. Messages from anywhere else are ignored.-
fieldsUrlreadonlystringWhere the provider's field frame is served from.-
headers?publicRecord<string, string>Defaults sent with every request; a per-request header of the same name wins.Pick.headers

Apache-2.0 · Headless engine, provider adapters and runnable examples.