Represents customer information.

interface CustomerInfo {
    accounts?: Account[];
    additionalAttributes?: Record<string, string>;
    address?: Address;
    birthDate: string;
    contactInfo?: ContactInformation;
    externalId?: string;
    firstName: string;
    id?: string;
    incompleteAttributes?: IncompleteAttribute[];
    lastName: string;
    nationality?: string;
    occupation?: string;
    preferences?: Preferences;
    restrictions?: Restriction[];
    title?: string;
    type?: string;
    userCategory?: string;
    vulnerabilities?: Vulnerability[];
}

Properties

accounts?: Account[]

Accounts associated with this customer.

additionalAttributes?: Record<string, string>

Additional attributes associated with this customer.

address?: Address

Address of the customer.

birthDate: string

Date of birth.

Format should be ISO 8601 in UTC. Represents RFC 3339, section 5.6 date-time.

Example

"2024-05-23"
contactInfo?: ContactInformation

Contact information.

externalId?: string

External identifier in merchant system. Must be passed during onboarding.

firstName: string

First name.

id?: string

Paysafe embedded wallet internal identifier.

incompleteAttributes?: IncompleteAttribute[]

Incomplete attributes associated with this customer.

lastName: string

Last name.

nationality?: string

Nationality. Represents ISO-3166 Alpha 2 country code.

Example

"GB"
occupation?: string

Occupation.

preferences?: Preferences

Preferences associated with this customer.

restrictions?: Restriction[]

Restrictions placed on the customer.

title?: string

Personal title.

Example

"Mr.", "Ms" "Dr."
type?: string

Type of the customer.

userCategory?: string

User category associated with this customer.

vulnerabilities?: Vulnerability[]

Vulnerabilities associated with this customer.