user, userData

The user and 'userData' types contain the data of a customer/user.

Example:

<user>
  <id>KalixaTestUser_3</id>
  <username>johndoe</username>
  <firstname>John</firstname>
  <lastname >Doe</lastname>
  <currencyCode>EUR</currencyCode>
  <languageCode>EN</languageCode>
  <email>[email protected]</email>
  <address>
    <street>Lombardia</street>
    <houseNumber>88</houseNumber>
    <postalCode>9999</postalCode>
    <countryCode2>AT</countryCode2>
    <telephoneNumber>00437778889999</telephoneNumber>
  </address>
  <dateOfBirth>1995-10-10T00:00:00</dateOfBirth>
  <gender>Female</gender>
  <isVIPUser>true</isVIPUser>
    <registrationDateAtMerchant>2014-08-01</registrationDateAtMerchant>
    <lastActivityDateAtMerchant>2018-12-22</lastActivityDateAtMerchant> 
</user>

Fields:

field (type, required)

description

id
(stringID, required)

Customer ID
<span style="color:red"Not applicable for userData

username
(username)

User name of the customer

firstname
(personName)

Customer´s first name

lastname
(personName)

Customer´s last name

currencyCode
(threeLetterCode)

Main transaction currency of the customer

languageCode
(twoLetterCode)

Main language of the customer

email
(emailAddress)

eMail address of the customer
Used for payment methods: Multibanco Deposit

address
(address)

The address of the customer

dateOfBirth
(dateTime)

The date of birth of the customer

gender
(gender)

The gender of the customer, with possible values "Male" or "Female"

identificationNumber
(secureString)

The number of the ID / Passport of the customer

identificationNumberType
(secureString)

The type of ID (e.g. "Passport")

drivingLicenseNumber
(secureString)

The number of the driving license of the customer

drivingLicenseIssuingState
(secureString)

The issuing state of the driving license

isVIPUser
(boolean)

The information if a user is a VIP user ("true"). If not provided the default is "false". Can be used as decision parameter for Smart 3D Secure

registrationDateAtMerchant
(date)

The date when the user has been registered in the merchant portal. Can be used as decision parameter for Smart 3D Secure

lastActivityDateAtMerchant
(date)

The date when the user has made his last activity in the merchant portal. Can be used as decision parameter for Smart 3D Secure

XML Schema:

<complexType name="user">
  <sequence>
    <element minOccurs="1" maxOccurs="1" name="id" type="stringID"/>
    <element minOccurs="0" maxOccurs="1" name="username" type="username" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="firstname" type="personName" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="lastname" type="personName" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="currencyCode" type="threeLetterCode" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="languageCode" type="twoLetterCode" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="email" type="emailAddress" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="address" type="address" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="dateOfBirth" type="s:dateTime" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="gender" type="gender" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="identificationNumber" type="secureString"/>
    <element minOccurs="0" maxOccurs="1" name="identificationNumberType" type="secureString" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="drivingLicenseNumber" type="secureString" nillable="true"/>
    <element minOccurs="0" maxOccurs="1" name="drivingLicenseIssuingState" type="secureString" nillable="true"/>
  </sequence>
</complexType>