---
title: "Get customer by ID"
method: GET
path: "/api/customer/{customerId}"
tags: ["Customer"]
---

# Get customer by ID

`GET /api/customer/{customerId}`

Retrieves a single customer by their unique identifier. Returns the customer's profile (email, name, phone, billing info) along with their active payment methods.

## Path parameters

- `customerId` string, required

## Response `200`

Customer details with active payment methods.

- CustomerResponseDto
  - `id` string, required — Unique identifier of the customer
  - `createdAt` string, date-time, required — Date when the customer was created
  - `updatedAt` string, date-time, required — Date when the customer was last updated
  - `email` string, nullable, required — Email address of the customer
  - `firstName` string, nullable, required — First name of the customer
  - `lastName` string, nullable, required — Last name of the customer
  - `phone` string, nullable, required — Phone number of the customer
  - `billingCountry` string, nullable, required — Billing country code (ISO 3166-1 alpha-2)
  - `businessName` string, nullable, required — Business name if purchasing as a business
  - `purchasingAsBusiness` boolean, required — Whether the customer is purchasing as a business
  - `taxId` string, nullable, required — Tax ID (e.g., VAT number) for business customers
  - `taxType` string, nullable, required — Type of tax ID (e.g., eu_vat, us_ein)
  - `paymentMethods` CustomerPaymentMethodResponseDto[], required — List of active payment methods for this customer
    - `id` string, required — Unique identifier of the payment method
    - `currency` 'EUR' | 'USD', required — Currency of the payment method
    - `cardBrand` string, nullable, required — Card brand (e.g., Visa, Mastercard)
    - `cardLast4` string, nullable, required — Last 4 digits of the card
    - `cardExpMonth` number, nullable, required — Card expiration month
    - `cardExpYear` number, nullable, required — Card expiration year
    - `isDefault` boolean, required — Whether this is the default payment method for this currency

## Other responses

- `401` — Unauthorized - Invalid API key
- `404` — Customer not found for the given ID

---

[API](https://skmtc.dev/inflowpay/apis/inflow-api.md) · [All operations](https://skmtc.dev/inflowpay/apis/inflow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inflowpay/inflow-api/revisions/3012dd3dd14a/schema)
