Skip to content

@checkout-kit/runtime-browser / SdkAdapter

Interface: SdkAdapter ​

Properties ​

PropertyModifierTypeDescription
sdkreadonlystringMatches action.sdk.

Methods ​

request() ​

ts
request(params, signal): Promise<unknown>;

Drive the loaded SDK and return whatever the provider expects to charge.

Throwing means the shopper dismissed it; the engine reports that as an abandoned payment rather than a failure.

Parameters ​

ParameterType
paramsReadonly<Record<string, unknown>>
signalAbortSignal

Returns ​

Promise<unknown>

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