Skip to content

@checkout-kit/provider-hpp / HostedPageConfig

Interface: HostedPageConfig ​

Extends ​

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

Properties ​

PropertyModifierTypeDescriptionInherited from
baseUrlreadonlystringRoot of the merchant-facing API used to register and read orders.-
credentials?publicRequestCredentialsInclude merchant-session cookies when the API is on another origin.Pick.credentials
headers?publicRecord<string, string>Defaults sent with every request; a per-request header of the same name wins.Pick.headers
pageUrlreadonlystringWhere the bank's payment form lives. A different site in production; the demo stands one in, because a front-end-only mock cannot answer requests from another origin.-

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