PayFanout API reference
    Preparing search index...

    Interface FieldsChangeState

    Live validity state of the mounted fields — drives "disable Pay until complete" UX.

    interface FieldsChangeState {
        complete: boolean;
        empty?: boolean;
    }
    Index
    complete: boolean

    True when every mounted field is filled and passes client-side validation.

    empty?: boolean

    True when the customer has not typed anything yet, where the SDK reports it.