> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

# The Customer Object

This object represents a customer who will make payments using your service.

## Attributes

<ParamField body="id" type="string">
  The unique identifier of the customer (MAX 64; MIN 36).

  Example: faa89e18-5a11-11ed-9b6a-0242ac120002
</ParamField>

<ParamField body="merchant_customer_id" type="string">
  The unique identifier of the customer in the external merchant (MAX 255; MIN 1).

  Example: 50ca6f06-5a12-11ed-9b6a-0242ac120002
</ParamField>

<ParamField body="merchant_customer_created_at" type="timestamp">
  Customer´s registration date on the merchants platform (MAX 27; MIN 27 <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> ).

  Example: 2022-05-09T20:46:54.786342Z
</ParamField>

<ParamField body="first_name" type="string">
  The customer's first name (MAX 255; MIN 1).

  Example: John
</ParamField>

<ParamField body="last_name" type="string">
  The customer's last name (MAX 255; MIN 1).

  Example: Doe
</ParamField>

<ParamField body="gender" type="enum">
  The customer's gender (MAX 2; MIN 1).

  Possible enum values: `M`, `F` or `NB`
</ParamField>

<ParamField body="date_of_birth" type="string">
  The customer's date of birth in the YYYY-MM-DD format (MAX 10; MIN 10).

  Example: 1990-02-28
</ParamField>

<ParamField body="email" type="string">
  The customer's e-mail (MAX 255; MIN 3).

  Example: [john.doe@email.com](mailto:john.doe@email.com)
</ParamField>

<ParamField body="nationality" type="enum">
  The customer's nationality (MAX 2; MIN 2; <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> ).

  Possible enum values: Check the <a href="/reference/country-reference">Country reference</a>.
</ParamField>

<ParamField body="country" type="enum">
  The customer's country (MAX 2; MIN 2; <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> ).

  Possible enum values: Check the <a href="/reference/country-reference">Country reference</a>.
</ParamField>

<ParamField body="document" type="object">
  Specifies the customer's document object, including its number and type.

  <Expandable title="properties">
    <ParamField body="document_number" type="string">
      The customer's document number (MAX 40; MIN 3).

      Example: 1093333333
    </ParamField>

    <ParamField body="document_type" type="enum">
      The customer's document type (MAX 6; MIN 2).

      Possible enum values: Check the <a href="/reference/country-reference"> Country reference</a>.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="phone" type="object">
  Specifies the customer's phone number object.

  <Expandable title="properties">
    <ParamField body="country_code" type="string">
      The country calling code of the customer's phone (MAX 3; MIN 1). Possible values: Check the <a href="/reference/country-reference"> Country reference</a> .

      Example: 57
    </ParamField>

    <ParamField body="number" type="string">
      The customer's phone number, without the country code (MAX 32; MIN 1).

      Example: 3132450765
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="billing_address" type="object">
  Specifies the customer's billing address object.

  <Expandable title="properties">
    <ParamField body="address_line_1" type="string">
      The primary billing address line of the customer (MAX 255; MIN 3).

      Example: Calle 34 # 56 - 78
    </ParamField>

    <ParamField body="address_line_2" type="string">
      The secondary billing address line of the customer (MAX 255; MIN 3).

      Example: Apartamento 502, Torre I
    </ParamField>

    <ParamField body="city" type="string">
      The city considered for the billing address (MAX 255; MIN 3).

      Example: Bogotá
    </ParamField>

    <ParamField body="country" type="enum">
      The country considered for the billing address (MAX 2; MIN 2; <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> ).

      Possible enum values: Check the <a href="/reference/country-reference">Country reference</a>.
    </ParamField>

    <ParamField body="state" type="string">
      The state considered for the billing address (MAX 255; MIN 3; <a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO 3166-2</a> ).

      Example: Cundinamarca
    </ParamField>

    <ParamField body="zip_code" type="string">
      The zipcode considered for the billing address (MAX 11; MIN 4).

      Example: 111111
    </ParamField>

    <ParamField body="neighborhood" type="string">
      The neighborhood of the address line of the customer(MAX 255; MIN 2)

      Example: Barrio 11
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="shipping_address" type="object">
  Specifies the customer's shipping address object.

  <Expandable title="properties">
    <ParamField body="address_line_1" type="string">
      The primary shipping address line of the customer (MAX 255; MIN 3).

      Example: Calle 34 # 56 - 78
    </ParamField>

    <ParamField body="address_line_2" type="string">
      The secondary shipping address line of the customer (MAX 255; MIN 3).

      Example: Apartamento 502, Torre I
    </ParamField>

    <ParamField body="city" type="string">
      The city considered for the shipping address (MAX 255; MIN 3).

      Example: Bogotá
    </ParamField>

    <ParamField body="country" type="enum">
      The country considered for the shipping address (MAX 2; MIN 2; <a href="https://en.wikipedia.org/wiki/ISO_3166-1">ISO 3166-1</a> ).

      Possible enum values: Check the <a href="/reference/country-reference">Country reference</a>.
    </ParamField>

    <ParamField body="state" type="string">
      The state considered for the shipping address (MAX 255; MIN 3; <a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO 3166-2</a> ).

      Example: Cundinamarca
    </ParamField>

    <ParamField body="zip_code" type="string">
      The zipcode considered for the shipping address (MAX 10; MIN 5).

      Example: 111111
    </ParamField>

    <ParamField body="neighborhood" type="string">
      The neighborhood of the address line of the customer(MAX 255; MIN 2)

      Example: Barrio 11
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="metadata" type="array of objects">
  Specifies a list of custom key–value pairs associated with the customer (for internal references, segmentation, or workflow tags). You can add up to 50 metadata objects.

  <Expandable title="properties">
    <ParamField body="metadata object" type="object">
      Specifies a metadata key and the respective value.

      Use to attach merchant-defined context (for example: `crm_id`, `segment`). Avoid sending sensitive or personal data.

      <Expandable title="properties">
        <ParamField body="key" type="string">
          Specifies one metadata key.

          Example: age
        </ParamField>

        <ParamField body="value" type="string">
          Specifies the value for the defined metadata key.

          Example: 28
        </ParamField>
      </Expandable>
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="created_at" type="timestamp">
  Customer creation date and time (MAX 27; MIN 27; <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> ).

  Example: 2022-05-09T20:46:54.786342Z
</ParamField>

<ParamField body="updated_at" type="timestamp">
  Last customer update date and time (MAX 27; MIN 27; <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> ).

  Example: 2022-05-09T20:46:54.786342Z
</ParamField>
