Create test userhttps://api.mercadopago.com/users/test
This endpoint handles http requests to create a test user.
POST
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Body
site_id
ID of the site where the request will be or was made, for example, "MLU" (Mercado Libre Uruguay).string
REQUIRED
description
Description of the test user being created.string
REQUIRED
Response parameters
id
Unique ID that identifies the test user.number
nickname
Nickname that identifies the test user.string
password
Test user password.string
site_status
Status of the site where the test user was created.string
Errors
400Bad request
400
Bad-Request
401Not found
401
Not-Found
403Forbidden
403
Forbidden
404Resource not found
404
Resource-Not-Found
500Internal server error
500
Internal-Server-Error
Request
curl -X POST \
'https://api.mercadopago.com/users/test'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-5*********956537-12*********ff1a3d36d*********47e7b9985*********770' \
-d '{
"site_id": "MLU",
"description": "a description"
}'Response
{
"id": 123,
"nickname": "TEST45I5GYIH",
"password": "qatest6730",
"site_status": "active",
"site_id": "MLA",
"description": "a description",
"email": "test_user_uy@testuser.com",
"date_created": "2022-02-01T12:00:00.000-04:00",
"date_last_updated": "2022-02-01T12:00:00.000-04:00"
}