react-native-okhi
    Preparing search index...

    Type Alias OkHiUser

    User information for OkHi address verification.

    This type represents the user whose address is being verified. All contact information should be valid as it may be used for verification purposes. important: Make sure to use a phone number you own during testing!

    const user: OkHiUser = {
    firstName: 'John',
    lastName: 'Doe',
    phone: '+254712345678',
    email: 'john.doe@example.com',
    };
    type OkHiUser = {
        firstName: string;
        lastName: string;
        phone: string;
        email: string;
        okhiUserId?: string;
        token?: string;
        appUserId?: string;
    }
    Index

    Properties

    firstName: string

    User's first name.

    lastName: string

    User's last name.

    phone: string

    User's phone number in international format.

    `'+254712345678'`
    
    email: string

    User's email address.

    okhiUserId?: string

    OkHi's internal user identifier.

    token?: string

    Managed internally by the SDK.

    appUserId?: string

    Your application's internal user identifier. Use this to link OkHi verifications to your own user records.

    `'user_abc123'`