Update test user password - Test user - Mercado Pago Developers
Update test user password

PUT

/test_user/{id}/password
This endpoint handles http requests to change the test user password.
Request's parameters
access_token

REQUIRED

string
Localization: queryAccess token generated from the seller by the authentication process (OAuth). Security code that identifies the user, their privileges and an application used in different requests from public sources to access protected resources. Its validity is determined by the expires_in parameter and is similar to APP_USR-1585551492-030918-25######3458-2880736, which is composed of
Access token type: APP_USR (application on behalf of a user), TEST (test, only valid in sandbox)
Client ID: 1585551492
Creation date (MMddHH): 030918
Security hash: 25######3458
User ID: 2880736
id

REQUIRED

string
Localization: pathUnique ID that identifies the test user.
Response parameters
message
string
Localization: bodyMessage with the password change status.
new_password
string
Localization: bodyNew test user password.
Request
curl
curl -X PUT \
    'https://api.mercadopago.com/test_user/{id}/password?access_token=12123adfasdf123u4u' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
{
  "message": "password successfully reset",
  "new_password": "random"
}
Errors
403bad_request
403403--Forbidden--authorization-the-caller-id-must-be-a-productive-user403--Forbidden
405bad_request
405405--Method-Not-Allowed
500bad_request
500500--Internal-Server-Error