---
api: 'Merchant API'
---

# Retrieve a customer (Deprecated)

Get the information about a specific `customer`, based on its ID.

## Endpoint

GET `/api/1.0/customers/{customer_id}`

> This endpoint is **deprecated**.

## Returns

### 200

OK

#### Response attributes

- `id` (string)
    Permanent customer ID used to retrieve, update, and delete a customer.
- `full_name` (string, optional)
    The full name of the customer.
- `business_name` (string, optional)
    The name of the customer's business.
- `phone` (string, optional)
    The phone number of the customer in [E.164 format](https://en.wikipedia.org/wiki/E.164).
- `created_at` (string)
    The date and time the customer was created.
- `updated_at` (string)
    The data and time the customer was last updated.
- `email` (string)
    The email address of the customer.
- `date_of_birth` (string, optional)
    The birth date of the customer.
- `payment_methods` (array of object, optional)
    All the payment methods for this customer.
  - `payment_methods[].id` (string)
      The ID of the payment method.
  - `payment_methods[].type` (enum, optional)
      The type of the payment method.
      
      :::note
      Only merchant initiated transactions are supported for saved `REVOLUT_PAY` payment methods.
      :::
      Possible enum values:

      - `CARD`
      - `REVOLUT_PAY`
  - `payment_methods[].saved_for` (enum, optional)
      Indicates in which case this saved payment method can be used for payments.
      
      
      - `CUSTOMER`: This payment method can be used only when the customer is on the checkout page.
      - `MERCHANT`: This payment method can be used without the customer being on the checkout page, and the merchant can initiate transactions, for example, to take payments for recurring transactions.
      Possible enum values:

      - `CUSTOMER`
      - `MERCHANT`
  - `payment_methods[].method_details` (object, optional)
      The details of the payment method.
    - `payment_methods[].method_details.bin` (string, optional)
        The BIN of the payment card.
    - `payment_methods[].method_details.last4` (string, optional)
        The last four digits of the payment card.
    - `payment_methods[].method_details.expiry_month` (number, optional)
        The expiry month of the payment card.
    - `payment_methods[].method_details.expiry_year` (number, optional)
        The expiry year of the payment card.
    - `payment_methods[].method_details.cardholder_name` (string, optional)
        The name of the cardholder.
    - `payment_methods[].method_details.billing_address` (object, optional)
        The billing address of the payment method.
      - `payment_methods[].method_details.billing_address.street_line_1` (string, optional)
          Street line 1 information.
      - `payment_methods[].method_details.billing_address.street_line_2` (string, optional)
          Street line 2 information.
      - `payment_methods[].method_details.billing_address.postcode` (string, optional)
          The postcode associated with the address.
      - `payment_methods[].method_details.billing_address.city` (string, optional)
          The city associated with the address.
      - `payment_methods[].method_details.billing_address.region` (string, optional)
          The region associated with the address.
      - `payment_methods[].method_details.billing_address.country_code` (string, optional)
          The country associated with the address.
    - `payment_methods[].method_details.brand` (enum, optional)
        The brand of the payment card.
        Possible enum values:

        - `VISA`
        - `MASTERCARD`
        - `MAESTRO`
    - `payment_methods[].method_details.funding` (enum, optional)
        The funding type of the payment card.
        Possible enum values:

        - `DEBIT`
        - `CREDIT`
        - `PREPAID`
        - `DEFERRED_DEBIT`
        - `CHARGE`
    - `payment_methods[].method_details.issuer` (string, optional)
        The issuer of the payment card.
    - `payment_methods[].method_details.issuer_country` (string, optional)
        Two-letter country code of the country where the payment card was issued.
    - `payment_methods[].method_details.created_at` (string, optional)
        The date and time the payment card was added.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 401 | Unauthorized |
| 404 | Not Found |
