Interface KlarnaCustomerProfile

Details of the Klarna customer account that authorized the payment.

By default no information is returned. To request individual fields to be returned see the request_customer_profile property in the configuration object.

Note that you must have a valid purpose under relevant data protection laws to request and process this data.

interface KlarnaCustomerProfile {
    address: Address;
    country: string;
    customerId: string;
    dateOfBirth: string;
    email: string;
    emailVerified: boolean;
    familyName: string;
    givenName: string;
    locale: string;
    nationalIdentification: NationalIdentification;
    phone: string;
    phoneVerified: boolean;
    sub?: string;
}

Properties

address: Address
country: string

Indicates whether the email address has been verified through OTP or not.

customerId: string
dateOfBirth: string
email: string
emailVerified: boolean
familyName: string
givenName: string
locale: string
nationalIdentification: NationalIdentification
phone: string
phoneVerified: boolean

Indicates whether the phone number has been verified through OTP or not.

sub?: string