User
Updated user
This PUT endpoint is used to update the profile information of a user with the provided user token. <br> You need to provide the user_token in the URL path to identify the user whose information you want to update. The updated information should be provided in the request Body as a JSON object. This endpoint can be used to update various profile information, such as the user's name, email address, phone number, and more. <br> The response will contain the updated user information in a JSON format.
put/payout/user/{user_token}
Path parameters
user_tokenstring required
user token that need to be updated
Headers
Idempotency-Keystring
Unique key to prevent duplicate processing
Request body
Example request
{
"created_on": "2019-07-07T23:03:05",
"internal_user_id": "4324-rOzk",
"address1": "2000 main st",
"address2": "apt D",
"city": "Santa Monica",
"state_province": "CA",
"postal_code": "90405",
"country": "USA",
"first_name": "John",
"last_name": "Doe",
"email": "jdoe@gmail.com",
"language": "en",
"mobile_number": "16502000226",
"business_name": "ABC Company",
"date_of_birth": "1975-03-24",
"metadata": {
"group_id": 541
}
}Response
successful operation
Example response
{
"user_token": "123e4567-e89b-12d3-a456-426614174000",
"created_on": "2019-07-07T23:03:05",
"internal_user_id": "4324-rOzk",
"address1": "2000 main st",
"address2": "apt D",
"city": "Santa Monica",
"state_province": "CA",
"postal_code": "90405",
"country": "USA",
"first_name": "John",
"last_name": "Doe",
"email": "jdoe@gmail.com",
"language": "en",
"mobile_number": "16502000226",
"business_name": "ABC Company",
"timezone": "America/Los_Angeles",
"date_of_birth": "1975-03-24",
"metadata": {
"group_id": 541
}
}