Add amount (account_money) to test user account/test_user/{id}/account_moneyThis endpoint handles http requests to add amount (account_money) to the test user account.
PUT
Products that use it:
Request's parameters
access_tokenstring
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 ofREQUIRED
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
idstring
Localization: pathUnique ID that identifies the test user.REQUIRED
amountnumber
Localization: bodyAmount added to the test user account.REQUIRED
Response parameters
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
400
403bad_request
403403--Forbidden--authorization-the-caller-id-must-be-a-productive-user
405bad_request
500bad_request
500500--Internal-Server-Error