Skip to content

@checkout-kit/react / usePaymentState

Variable: usePaymentState ​

ts
const usePaymentState: (input?) => PaymentUiState;

The engine supplies seven of the nine states; the other two are about the form.

Parameters ​

ParameterType
input?PaymentStateInput

Returns ​

PaymentUiState

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