---
title: "Retrieve a customer"
method: GET
path: "/billing/customers/{customerId}"
---

# Retrieve a customer

`GET /billing/customers/{customerId}`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/billing/customers/{customerId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

Retrieve the personal details of a customer.

## Path parameters

- `customerId` string, required

## Headers

- `merchant` string, required

## Response `200`

200

- object
  - `id` string
  - `number` string
  - `referenceCode` unknown
  - `firstName` string
  - `lastName` string
  - `email` string
  - `companyName` unknown
  - `mobilePhone` unknown
  - `homePhone` unknown
  - `gender` string
  - `dateOfBirth` string
  - `createdOn` string
  - `address` object
    - `address1` string
    - `address2` unknown
    - `postalCode` string
    - `state` string
    - `countryCode` string
    - `city` string
  - `metadata` object
    - `foo` string

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/billing/customers/:customerId/get.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
