Updates the information of an existing client including personal details and communication preferences. Requires an API key with access level 3 or higher.
Path parameters
Unique identifier of the client to update.
Body
Client second/middle name.
Enable OTP authentication.
Enable SMS notifications.
Enable WhatsApp notifications.
Enable Telegram notifications.
Document expiration date.
individual_identification
Individual identification number.
individual_identification_type
Individual identification type.
Client occupation (required for Rain).
Annual salary (required for Rain).
Account purpose (required for Rain).
Expected monthly volume (required for Rain).
Response
Returns the updated client. See Get client by ID for the full field list.
curl -X PUT "https://api.cryptomate.me/management/clients/client_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d" \
-H "X-API-KEY: $CRYPTOMATE_API_KEY " \
-H "Content-Type: application/json" \
-d '{
"first_name": "John",
"last_name": "Doe",
"email": "john.doe.new@example.com",
"sms": false
}'
404 Not Found
412 Duplicate Client
{
"code" : "NOT_FOUND" ,
"message" : "Company client not found with id: client_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
}