Patch User Details
The Patch User Details for Personal Details and Address details is an authenticated API call that allows updating a user’s personal and address details. The response follows the same schema as getUser(), returning the updated user profile.
The fields that can be updated via patchUser include:
-
Personal Details: firstName, lastName, mobileNumber, dob
-
Address Details: addressLine1, addressLine2, state, city, postCode, countryCode
Any modifications to user data must comply with KYC requirements, and certain updates may require the user to re-submit verification documents.
Note:
-
If a country does not have a state, the country name can be passed (e.g. Dubai).
-
If a country does not have a postal code, the postal code can be passed as
000000. -
Names and address fields accept Latin letters, including accented letters, which are converted to plain letters. See Field Validation for the accepted characters and patterns.
Authentication: use either Transak Auth, which sends the user’s authorization token, or Partner Auth (Auth Reliance), which sends x-access-token and x-user-identifier. Do not send both. See the headers below.
Headers
End user’s originating IP. More details here
Partner Auth (Auth Reliance). Your Partner Access Token, valid for 7 days. Send it with x-user-identifier, and do not send authorization. See Auth Reliance Flows and how to create a Partner Access Token.
Partner Auth (Auth Reliance). The email address of the user you authenticated. Send it with x-access-token.
Query parameters
Request
Response
200 - Success