# Get customer details

Get customer details

Endpoint: GET /customers/{id}
Version: 2.5.0
Security: bearer, basic, apiKey

## Path parameters:

  - `id` (string, required)
    Customer Id
    Example: "cu_841b9b1a99fc4f0"

## Response 200 fields (application/json):

  - `billingAddress` (object)

  - `billingAddress.streetName` (string)
    Street name of billing address. Present if passed by merchant in Payment.

  - `billingAddress.streetNumber` (string)
    Street number of billing address. Present if passed by merchant in Payment.

  - `billingAddress.city` (string)
    City of billing address. Present if passed by merchant in Payment.

  - `billingAddress.postalCode` (string)
    Postal code of billing address. Present if passed by merchant in Payment.

  - `billingAddress.state` (string)
    State of billing address. Present if passed by merchant in Payment.

  - `billingAddress.country` (string)
    Country of billing address. Present if passed by merchant in Payment.

  - `lastUsedAt` (any)
    Last used date and time in ISO 8601 format.

  - `id` (string)
    Unique identifier of the customer assigned by Paygate.

  - `merchantCustomerId` (string)
    Unique identifier of the customer assigned by merchant.

  - `firstName` (string)
    First name of the customer. Present if passed by merchant in Payment.

  - `lastName` (string)
    Last name of the customer. Present if passed by merchant in Payment.

  - `companyName` (string)
    Last name of the customer. Present if passed by merchant in Payment.

  - `email` (string)
    E-mail address of the customer. Present if passed by merchant in Payment.

  - `phone` (object)
    Phone number of the customer.

  - `phone.countryCode` (string)
    Country Code/Area code of the phone number. Allows up to 3 digits. Must not contain the '+' prefix.

  - `phone.number` (string)
    Phone number of the customer.

  - `scope` (string)
    Scope of customer vault. Present if configured for the merchant in MAT.

  - `createdAt` (any)
    Creation date and time in ISO 8601 format.

  - `updatedAt` (any)
    Update date and time in ISO 8601 format.

## Response 400 fields (application/json):

  - `errors` (object)
    "Object": [
    "Error 1",
    "Error 2"
  ]
}`
    Example: {"Object":["Error 1","Error 2"]}

  - `type` (string)
    A URI reference that identifies the problem type
    Example: "https://tools.ietf.org/html/rfc9110#section-15.5.1"

  - `title` (string)
    A short, human-readable summary of the problem type
    Example: "One or more validation errors occurred."

  - `status` (string)
    The HTTP status code
    Example: 400

  - `detail` (string)

  - `instance` (string)

## Response 404 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (string)

  - `detail` (string)

  - `instance` (string)


