interface CardFormEmbedState {
    isValid: boolean;
    token: null | string;
}

Properties

Properties

isValid: boolean

Determines whether the form is filled correctly.

token: null | string

Token required for calculating credit card's commission fee. Equals to null, if card number is invalid.