Search test user - Test user - Mercado Pago Developers
Search test user

GET

/test_user/search
This endpoint handles http requests to search a test user.
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
Response parameters
total
integer
Localization: bodyTotal test users found.
results
array
Localization: bodyLocalized test user information.
Request
curl
curl -X GET \
    'https://api.mercadopago.com/test_user/search?access_token=12123adfasdf123u4u' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
{
  "total": 1,
  "results": [
    {
      "id": 123,
      "nickname": "TEST45I5GYIH",
      "site_status": "active",
      "site_id": "MLA",
      "email": "test_user_123@testuser.com",
      "date_created": "2021-11-04T12:02:35Z",
      "date_last_updated": "2021-11-04T12:02:35Z"
    }
  ]
}
Errors
401bad_request
401401--Not-Found--invalid-token
403bad_request
403403--Forbidden--authorization-the-caller.id-must-be-a-productive-user
404bad_request
404404--Resource-Not-Found
405bad_request
405405--Method-Not-Allowed
500bad_request
500500--Internal-Server-Error