Skip to content

@checkout-kit/core / ProviderContext

Interface: ProviderContext<TConfig> ​

Type Parameters ​

Type Parameter
TConfig

Properties ​

PropertyModifierTypeDescription
configreadonlyTConfig-
fetchreadonly(input, init?) => Promise<Response>The plugin builds its own HTTP client from this (see @checkout-kit/core/http). Passing fetch rather than a ready-made client is what lets plugins speak different wire formats.
logreadonlyLogger-
nowreadonly() => number-
uuidreadonly() => stringInjected, so tests get deterministic ids and the core stays free of crypto.

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