Prefill Lead Data
Prefilling Lead Data for Credit Cards (Web Wrapper)
Example
<WebWrapper
channel="your-channel"
zone="your-zone"
bearerToken="{your_token}"
productTypes={[ApiModels.ProductType.CreditCard]}
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',
}}
financialInformation={{
annualIncome: 20000,
creditCardDebt: 5000,
}}
creditInformation={{
providedCreditRating: ApiModels.ProvidedCreditRating.Good,
}}
creditCardInformation={{
allowAnnualFee: true,
cardPurposes: [
ApiModels.CardPurpose.BalanceTransfer,
ApiModels.CardPurpose.CashBack,
],
}}
onExit={(evt) => console.log('onExit', evt)}
/>Type Definitions
Enums / Accepted Values
Last updated
Was this helpful?