---
updatedAt: 2026-07-14T04:30:44.000Z
agentTools:
  projectIndex: https://docs.wert.io/llms.txt
---

# User's data prefill

To simplify the purchase flow for your users, you can pass some of their details directly to Wert upon widget initialization. You are always in control of how much data you pass. You can provide ‘Know Your Customer’ information for faster user verification or just a phone number.

The fields you can pass are:

| Property               | Data Type | Description                                                                         | Possible values                                                                                                                 |
| :--------------------- | :-------- | :---------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ |
| full\_name             | string    | The user’s first and last name.                                                     | Between 3 and 69 letters. RegExp(/(\w+\s)\w+/)                                                                                  |
| date\_of\_birth        | string    | User’s date of birth.                                                               | DD/MM/YYYY<br />MM/DD/YYYY (for USA)                                                                                            |
| phone                  | string    | User’s phone number in international format (E. 164 standard). The ‘+’ is optional. | +11014321111                                                                                                                    |
| email                  | string    | User’s email address.                                                               | <test@test.com>                                                                                                                 |
| country\_of\_residence | string    | User’s country of residence.                                                        | <Anchor target="_blank" href="https://www.nationsonline.org/oneworld/country_code_list.htm">alpha2</Anchor> code of the country |
| state\_of\_residence   | string    | User’s state of residence (for USA).                                                | <Anchor target="_blank" href="https://www.iso.org/obp/ui/#iso:code:3166:US">alpha2</Anchor> code of USA state                   |

<br />

```javascript
const widget = new WertWidget({
  partner_id: "YOUR_PARTNER_ID",
  phone: "+494949030",
  email: "test@test.io",
  full_name: "Name Surname",
  date_of_birth: "31/07/1990",
  country_of_residence: "DE",
});
```

<br />

As a result, the user will not need to enter the data you provide to us manually, but they will always have the option to correct any information.

The Widget will load with pre-filled information on the following screens:

<Image src="https://files.readme.io/e65102d-Bildschirmfoto_2023-11-30_um_14.31.11.png" alt="Enter phone number Card details Personal details" align="center" />

<br />

For US users, the screens will display as follows:

<Image src="https://files.readme.io/19f3db0-Untitled.png" alt="Left to right: 'Enter phone' screen, 'Card details' screen and 'Personal details' screen" align="center" />

<br />