Represents the changed customer information.

interface UpdateCustomerRequest {
    additionalAttributes?: Record<string, string>;
    address?: UpdateAddressRequest;
    birthDate?: string;
    firstName?: string;
    lastName?: string;
    nationality?: string;
    occupation?: Occupation;
    title?: string;
    vulnerabilities?: Vulnerability[];
}

Properties

additionalAttributes?: Record<string, string>

A list of additional attributes not covered in standard list. Specifics need to be aligned during integration with Paysafe.

The new address associated with 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"
firstName?: string

The first name of the customer.

lastName?: string

The last name of the customer.

nationality?: string

The nationality of the customer in ISO-3166 Alpha 2 format.

Example

"GB"
occupation?: Occupation

The occupation of the customer.

title?: string

Personal title.

Example

"Mr.", "Ms", "Dr."
vulnerabilities?: Vulnerability[]

A list of vulnerabilities associated with the customer.