LedeWire SDK API Reference
    Preparing search index...

    Type Alias CheckoutState

    CheckoutState: CheckoutStateResponse

    Checkout state machine result for a specific content item, as returned by lw.checkout.state().

    This is a consumer-facing alias for CheckoutStateResponse — the two types are identical. Prefer CheckoutState in application code; use CheckoutStateResponse when you need to explicitly reference the OpenAPI schema name.

    Note: checkout_state.has_sufficient_funds is boolean | null because the API omits or nulls the field when the buyer is unauthenticated.