AI resources
Update test user passwordhttps://api.mercadopago.com/test_user/{id}/password
This endpoint handles http requests to change the test user password.
PUT
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Query
access_token
Test access 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 ofstring
REQUIRED
Access token type: APP_USR (application on behalf of a user), TEST (test, only valid in sandbox)
Client ID: 1585551492
Creation date (MMddHH): 030918
Path
id
Unique ID that identifies the test user.string
REQUIRED
Response parameters
message
Message with the password change status.string
new_password
New test user password.string
Errors
403Forbidden
403
Forbidden
405Method Not Allowed
405
Method-Not-Allowed
500Internal server error
500
Internal-Server-Error
Request
curl -X PUT \
'https://api.mercadopago.com/test_user/{id}/password?access_token=12123adfasdf123u4u'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-4*********994754-12*********c73b4e1ac*********cef36b27c*********840' \
Response
{
"message": "password successfully reset",
"new_password": "random"
}