Prefill Lead Data
Prefilling Lead Data for Personal Loans (Web Wrapper)
Example
<WebWrapper
channel="your-channel"
zone="your-zone"
bearerToken="{your_token}"
productTypes={[ApiModels.ProductType.Loan]}
personalInformation={{
firstName: 'Bob',
lastName: 'Dylan',
email: '[email protected]',
dateOfBirth: '1990-01-01', // YYYY-MM-DD
primaryPhone: '2325624852',
address1: '1600 Pennsylvania Avenue',
address2: 'Apt 2',
city: 'Washington',
state: 'DC',
zipcode: '20500',
ssn: '512-54-7862',
}}
loanInformation={{
purpose: ApiModels.LoanPurpose.CreditCardRefi,
loanAmount: 7500,
}}
mortgageInformation={{
propertyStatus: ApiModels.PropertyStatus.OwnWithMortgage,
}}
creditInformation={{
providedCreditRating: ApiModels.ProvidedCreditRating.Good,
}}
financialInformation={{
employmentStatus: ApiModels.EmploymentStatus.EmployedFullTime,
employmentPayFrequency: ApiModels.EmploymentPayFrequency.Biweekly,
annualIncome: 20000,
creditCardDebt: 5000,
bankRoutingNumber: '123456789',
bankAccountNumber: '55555555555',
}}
employmentInformation={{
directDeposit: false,
}}
legalInformation={{
consentsToSms: true,
}}
educationInformation={{
educationLevel: ApiModels.EducationLevel.Associate,
}}
onExit={(evt) => console.log('onExit', evt)}
/>Type Definitions
Enums / Accepted Values
Last updated
Was this helpful?