Skip to main content
PUT
/
management
/
clients
/
{id}
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
  }'
{
  "code": "NOT_FOUND",
  "message": "Company client not found with id: client_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
}
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

id
string
required
Unique identifier of the client to update.

Body

company_id
string
Company identifier.
phone_country_code
integer
Phone country code.
phone_number
long
Phone number.
username
string
Client username.
first_name
string
Client first name.
second_name
string
Client second/middle name.
last_name
string
Client last name.
otp
boolean
Enable OTP authentication.
sms
boolean
Enable SMS notifications.
whatsapp
boolean
Enable WhatsApp notifications.
telegram
boolean
Enable Telegram notifications.
email
string
Client email address.
gender
string
Client gender.
birth_date
string
Date of birth.
expiration_date
string
Document expiration date.
address
object
Physical address.
individual_identification
string
Individual identification number.
individual_identification_type
string
Individual identification type.
occupation
string
Client occupation (required for Rain).
annual_salary
string
Annual salary (required for Rain).
account_purpose
string
Account purpose (required for Rain).
expected_monthly_volume
string
Expected monthly volume (required for Rain).
documents
array
Identity documents.

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
  }'
{
  "code": "NOT_FOUND",
  "message": "Company client not found with id: client_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"
}