Skip to content

@checkout-kit/core / CheckoutSnapshot

Interface: CheckoutSnapshot ​

Properties ​

PropertyModifierTypeDescription
actionreadonlyPaymentAction | nullThe action waiting to be run, or the one currently running.
attemptreadonlynumberHow many actions this payment has already been through.
capabilitiesreadonlyProviderCapabilities | nullWhat the current provider can do, once it has loaded. null until then. For rendering and validation only - whether to ask for a card at all. What a payment needs is decided by the action the provider returns.
errorreadonlyPaymentError | null-
intentreadonlyPaymentIntent | null-
phasereadonlyCheckoutPhase-
providerIdreadonlystring | null-

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