@sumup/sdk
    Preparing search index...

    Type Alias BasePerson

    Base schema for a Person associated with a Merchant. This can be a legal representative, business owner (ultimate beneficial owner), or an officer. A legal representative is the Person who registered the Merchant with SumUp. They should always have a user_id.

    Person documentation: https://developer.sumup.com/tools/glossary/merchant#persons

    type BasePerson = {
        address?: MerchantsAddress;
        birthdate?: string;
        change_status?: string;
        citizenship?: string;
        country_of_residence?: string | null;
        family_name?: string;
        given_name?: string;
        id: string;
        identifiers?: MerchantsPersonalIdentifiers;
        nationality?: string | null;
        ownership?: Ownership;
        phone_number?: string;
        relationships?: string[];
        user_id?: string;
        version?: string;
    }
    Index
    birthdate?: string

    The date of birth of the individual, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format.

    Format: date

    change_status?: string

    Reflects the status of changes submitted through the PATCH endpoints for the Merchant or Persons. If some changes have not been applied yet, the status will be pending. If all changes have been applied, the status done. The status is only returned after write operations or on read endpoints when the version query parameter is provided.

    citizenship?: string

    The Alpha-2 ISO code of the country where the Person is a citizen.

    An ISO3166-1 alpha-2 country code. This definition uses oneOf with a two-character string type to allow for support of future countries in client code.

    Pattern: ^[A-Z]{2}$

    country_of_residence?: string | null

    An ISO3166-1 alpha-2 country code representing the country where the Person resides.

    Pattern: ^[A-Z]{2}$

    family_name?: string

    The last name(s) of the individual.

    Min length: 1

    Max length: 60

    given_name?: string

    The first name(s) of the individual.

    Min length: 1

    Max length: 60

    id: string

    The unique identifier for the Person. This is a typeid.

    nationality?: string | null

    The Person's nationality. May be an ISO3166-1 alpha-2 country code, but legacy data may not conform to this standard.

    Pattern: ^[A-Z]{2}$

    ownership?: Ownership
    phone_number?: string

    The (mobile) phone number of the individual (used for verification) in E.164 format.

    A publicly available phone number in E.164 format.

    Max length: 16

    relationships?: string[]

    A list of roles the Person has in the Merchant or towards SumUp. A Merchant must have at least one Person with the relationship representative.

    Min items: 1

    Max items: 1

    user_id?: string

    A corresponding identity user ID for the Person, if they have a user account.

    version?: string

    The version of the resource. The version reflects a specific change submitted to the API via one of the PATCH endpoints.