curl --request PATCH \
--url https://api.nh.staging.mum.juspay.net/service2/user/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"dob": "<string>",
"email": "<string>",
"employer": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"occupation": "salaried"
}
'{
"phone": "<string>",
"profile_complete": true,
"user_id": "<string>",
"aadhaar_last4": "<string>",
"address": "<string>",
"dob": "<string>",
"email": "<string>",
"employer": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"occupation": "salaried"
}curl --request PATCH \
--url https://api.nh.staging.mum.juspay.net/service2/user/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"dob": "<string>",
"email": "<string>",
"employer": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"occupation": "salaried"
}
'{
"phone": "<string>",
"profile_complete": true,
"user_id": "<string>",
"aadhaar_last4": "<string>",
"address": "<string>",
"dob": "<string>",
"email": "<string>",
"employer": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"occupation": "salaried"
}JWT access token. Obtain from /auth/otp/verify endpoint.
Request body for PATCH /user/profile.
All fields are optional — only provided fields are updated.
dob must be in "YYYY-MM-DD" format.
phone and aadhaar_last4 cannot be updated via this endpoint.
Date of birth in "YYYY-MM-DD" format.
One of: "male", "female", "other".
"male"
One of: "salaried", "self_employed", "professional", "student", "homemaker", "retired", "other".
"salaried"
Updated user profile
Response body for PATCH /user/profile.
true when both first_name and last_name are present.
Aadhaar last-4 masked as "XXXXXXXX{last4}", e.g. "XXXXXXXX1234".
Date of birth as "YYYY-MM-DD" string, if set.
One of: "male", "female", "other".
"male"
One of: "salaried", "self_employed", "professional", "student", "homemaker", "retired", "other".
"salaried"