phone_number within your merchant account.phone_number exists, a new customer is created with status active and 0 points balance.phone_number, the provided fields are updated (only non-null fields are overwritten).Idempotency-Key header to prevent duplicate customer creation from retried requests.curl --location --request POST '/customers' \
--header 'Idempotency-Key: customer-create-20260203-001' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "jane@example.com",
"phone_number": "+2348012345678",
"first_name": "Jane",
"last_name": "Doe",
"date_of_birth": "1995-06-15T00:00:00.000Z"
}'{
"status": true,
"message": "Customer created successfully",
"data": {
"uid": "cust_abc123def456",
"email": "jane@example.com",
"phone_number": "+2348012345678",
"first_name": "Jane",
"last_name": "Doe",
"date_of_birth": "1995-06-15",
"status": "active",
"points_balance": 1500,
"created_at": "2026-01-15T10:30:00.000Z"
}
}