@checkout-kit/runtime-browser / SdkAdapter
Interface: SdkAdapter
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
sdk | readonly | string | Matches 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
| Parameter | Type |
|---|---|
params | Readonly<Record<string, unknown>> |
signal | AbortSignal |
Returns
Promise<unknown>