Skip to main content
GET
/
v1
/
customers
/
{id}
Get Customer
curl --request GET \
  --url https://api.daya.co/v1/customers/{id} \
  --header 'X-Api-Key: <x-api-key>'
{
  "id": "650e8400-e29b-41d4-a716-446655440000",
  "email": "customer@example.com",
  "first_name": "John",
  "last_name": "Doe",
  "created_at": "2026-01-05T15:04:05Z",
  "updated_at": "2026-01-05T15:04:05Z"
}

Overview

Retrieve details for a specific customer belonging to the authenticated merchant.

Authentication

X-Api-Key
string
required
Your merchant API key

Path Parameters

id
string
required
Customer ID (UUID)Example: 650e8400-e29b-41d4-a716-446655440000

Request Example

curl --request GET \
  --url https://api.daya.co/v1/customers/650e8400-e29b-41d4-a716-446655440000 \
  --header 'X-Api-Key: YOUR_API_KEY'

Response

id
string
required
Unique customer identifier (UUID)
email
string
required
Customer email address
first_name
string
Customer first name
last_name
string
Customer last name
created_at
string
required
When the customer was created (ISO 8601 timestamp)
updated_at
string
required
When the customer was last updated (ISO 8601 timestamp)

Success Response

{
  "id": "650e8400-e29b-41d4-a716-446655440000",
  "email": "customer@example.com",
  "first_name": "John",
  "last_name": "Doe",
  "created_at": "2026-01-05T15:04:05Z",
  "updated_at": "2026-01-05T15:04:05Z"
}

Error Responses

{
  "error": {
    "code": "validation_failed",
    "message": "Invalid UUID format"
  }
}