Integration test
Before going to production, we recommend testing your integration functionality and transaction processing. This will allow you to verify if the integration was done correctly and if this processing happens without errors.
During integration development, use the test Access TokenPrivate key linked to an application, used in the backend to authenticate operations in the test environment. You can find it in the application's Credentials section, within the test environment. It cannot process real payments, must never be exposed in the frontend, and starts with the `APP_USR` prefix.Access test credentials to simulate transactions. This way, you can verify your integration functionality without risk of affecting real data.
To begin, use the buyer test account automatically created with your application. This way, you can simulate purchases using a Mercado Pago test account, which has fictitious balance. Follow the steps below to get it:
Get a buyer test account
To test the integration, make a test purchase using the buyer test account that was automatically created with your application. To find it, follow the steps below.
- In Mercado Pago Developers, navigate to Your integrations in the upper right corner, and click on the card corresponding to the application you are developing with.
- After accessing the Integration data, go to the Test accounts section in the left sidebar menu.
- In the selector menu, click on Buyer. Once there, you will see the account's operating country, User ID, username and password of the test account.

After getting the buyer test account, you can perform the test purchase.