---
title: "Fetch customer by ID"
method: GET
path: "/customers/{id}"
tags: ["Customers"]
---

# Fetch customer by ID

`GET /customers/{id}`

Retrieve full details of a specific customer.

## Path parameters

- `id` string, required

## Response `200`

Customer details.

- Customer
  - `id` string — Unique customer identifier. Prefix: cust_
  - `entity` 'customer'
  - `name` string — Customer name. 3-50 characters. Allowed: alphanumeric, period, apostrophe, forward slash, @, parentheses.
  - `contact` string — Phone number. Max 15 characters. Include country code (e.g. +919876543210). Minimum 8 digits.
  - `email` string — Email address. Max 64 characters.
  - `gstin` string — Goods and Services Tax Identification Number (optional).
  - `notes` Notes — Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.
  - `created_at` integer — Unix timestamp of customer creation.

## Other responses

- `400` — Bad request. Invalid parameters or missing required fields.
- `401` — Authentication failed. Invalid or missing API key credentials.
- `404` — Resource not found.
- `429` — Rate limit exceeded. Implement exponential backoff with jitter before retrying.

---

[API](https://skmtc.net/razorpay/apis/razorpay-api.md) · [All operations](https://skmtc.net/razorpay/apis/razorpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/razorpay/razorpay-api/versions/824ca9e6faef/schema)
