@checkout-kit/core / CheckoutSnapshot
Interface: CheckoutSnapshot
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
action | readonly | PaymentAction | null | The action waiting to be run, or the one currently running. |
attempt | readonly | number | How many actions this payment has already been through. |
capabilities | readonly | ProviderCapabilities | null | What 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. |
error | readonly | PaymentError | null | - |
intent | readonly | PaymentIntent | null | - |
phase | readonly | CheckoutPhase | - |
providerId | readonly | string | null | - |