Skip to content

@checkout-kit/webview-bridge / BridgeEnvelope

Interface: BridgeEnvelope<TType, TPayload> ​

Every message carries this. source is the discriminator - a WebView receives everything.

Type Parameters ​

Type Parameter
TType extends string
TPayload

Properties ​

PropertyModifierTypeDescription
correlationId?readonlystringSet on a reply, to the id of the command it answers.
idreadonlystring-
payloadreadonlyTPayload-
sessionIdreadonlystringOne checkout attempt. Lets the host drop messages from a WebView it has reloaded.
sourcereadonly"checkout-kit"-
tsreadonlynumber-
typereadonlyTType-
vreadonlynumber-

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