Skip to main content
PATCH
/
v1
/
customers
/
{id}
Update customer
curl --request PATCH \
  --url https://api.daya.co/v1/customers/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "email": "<string>",
  "first_name": "<string>",
  "last_name": "<string>"
}
'
{
  "id": "650e8400-e29b-41d4-a716-446655440000",
  "email": "customer@example.com",
  "first_name": "Jane",
  "last_name": "Doe",
  "is_verified": false,
  "tier_1_kyc_complete": false,
  "tier_2_kyc_complete": false,
  "capabilities": [],
  "rejection_reasons": [],
  "created_at": "2026-01-05T15:04:05Z",
  "updated_at": "2026-01-06T10:30:00Z"
}

Overview

Update the details of an existing customer. Only provided fields are updated; omitted fields remain unchanged.

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 Body

email
string
Customer email address. Must be a valid email if provided.Example: customer@example.com
first_name
string
Customer first name (1-100 characters)Example: Jane
last_name
string
Customer last name (1-100 characters)Example: Doe

Request Examples

{
  "email": "customer@example.com",
  "first_name": "Jane",
  "last_name": "Doe"
}

Response

Returns the updated customer object. See Get customer for the full field list.

Success Response

{
  "id": "650e8400-e29b-41d4-a716-446655440000",
  "email": "customer@example.com",
  "first_name": "Jane",
  "last_name": "Doe",
  "is_verified": false,
  "tier_1_kyc_complete": false,
  "tier_2_kyc_complete": false,
  "capabilities": [],
  "rejection_reasons": [],
  "created_at": "2026-01-05T15:04:05Z",
  "updated_at": "2026-01-06T10:30:00Z"
}

Error Responses

{
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid UUID format",
    "request_id": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Next Steps

Get Customer

Retrieve the full customer record

Submit Tier 1 Verification

Verify a customer’s identity for permanent NGN funding accounts