Add amount (account_money) to test user account - Test user - Mercado Pago Developers
Add amount (account_money) to test user account

PUT

/test_user/{id}/account_money
This endpoint handles http requests to add amount (account_money) to the test user account.
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.
amount

REQUIRED

number
Localization: bodyAmount added to the test user account.
Response parameters
This request has no response.
Request
curl
curl -X PUT \
    'https://api.mercadopago.com/test_user/{id}/account_money?access_token=12123adfasdf123u4u' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '{
  "amount": 1000.23
}'
Answer
json
{}
Errors
400bad_request
400400--Bad-Request--invalid-amount
403bad_request
403403--Forbidden--authorization-the-caller-id-must-be-a-productive-user
405bad_request
500bad_request
500500--Internal-Server-Error