Set up environment
Before starting, make sure you have completed the onboarding process described in Acceptor Flow and that your credentials are active.
Select the payment type you are going to integrate to see the corresponding setup steps.
Follow the steps below to set up the environment that will allow you to operate with Mercado Pago QR codes in acceptor flow.
To start the setup process, you need to have a business account in Mercado Pago, which will allow you to create an application in Mercado Pago Developers.
To create your business account, go to our registration page and fill in the requested data with the information of the digital wallet you represent.
Then, go to Mercado Pago Developers, sign in with the business account corresponding to the wallet, and access Your integrations in the upper right corner of the screen.

On the next screen, click the Create application button.

This will redirect you to the Basic settings screen, where you must fill in the requested information as indicated below:
- Application name: choose a name for the application, associated with the wallet for which you are creating it. You have a limit of 50 characters.
- As the payment solution to integrate, choose the In-person payments option.
- For the product to integrate, select the QR Code option.
- It is not necessary to select the integration model.

Finally, check the box to authorize the use of your personal data in accordance with the Privacy Statement and certify that your account uses Mercado Pago tools in accordance with the Terms and Conditions, as well as the I am not a robot checkbox, and click Create application.
This will automatically generate a card in Your integrations with the name and number of the application, which will allow you to access its details when necessary.
To continue with the QR interoperability setup, the digital wallet must request its onboarding into Mercado Pago.
To do so, contact our Support Center and request support for the QR interoperability acceptor flow configuration, providing the following information.
| Field | Description |
identifier | Commercial name of the digital wallet, as it is known in the market. |
application_id | Identifier of the application created for the digital wallet. You can find it as Application number within Integration data. |
user_business_id | Identifier of the user who created the application for the digital wallet. You can find it as User ID within Integration data. |
With this data, our Support team will manage the wallet onboarding and subsequently confirm its activation.
To use Mercado Pago APIs, you need to obtain credentials through the OAuth flow. This way, you can create an Access Token that will allow you to securely access the resources of the created application.
To obtain it, follow the steps below.
- Within Your integrations, select the application created for the digital wallet.
- In the menu on the left side of the screen, select the Production credentials option.
- Locate the Client ID and Client Secret credentials, which you must use to generate the Access Token through the OAuth flow, as shown in the following image.

- Send a POST to the /oauth/token endpoint with the required parameters described below to generate your Access Token.
curl
curl --location 'https://api.mercadopago.com/oauth/token' \ --header 'Content-Type: application/json' \ --data '{ "client_id": "{CLIENT_ID}", "client_secret": "{CLIENT_SECRET}", "grant_type": "client_credentials" }'
| Field | Description |
client_id | Copy and paste the value assigned to the Client ID in the Credentials section within "Your integrations". |
client_secret | Copy and paste the value assigned to the Client Secret in the Credentials section within "Your integrations". |
grant_type | The OAuth protocol allows obtaining an Access Token through different access flows. In this case, fill in the field with the value client_credentials. |
In the response you will receive, among other parameters, your Access Token, which you must use in calls to Mercado Pago APIs.
json
{ "access_token": "{ACCESS_TOKEN}", "token_type": "Bearer", "expires_in": 21600, "scope": "offline_access read write", "user_id": "{USER_ID}", "live_mode": true }
When setting up Mercado Pago QR Code interoperability, you can also configure the receipt of Webhook notifications for payments made.
To do so, follow the steps below.
- Access Your integrations and select the application created for the digital wallet.
- In the menu on the left side of the screen, select the Notifications > Webhooks option.
- In the Production mode tab, provide the URL that will be used to receive notifications.
- In Events, choose the Payments (credit card interoperability) option.

- Click Save and confirm on the next screen.
Before going to production, keep in mind the following considerations to ensure your integration works correctly.
- Always use the wallet's Access Token created through the Client Credentials OAuth flow. Make sure to renew it before 6 hours.
- Always ensure an appropriate user experience: provide clear messages to optimize understanding of each payment, failure, or error scenario when scanning QR codes with the wallet.
- Remember to correctly include Mercado Pago QR code patterns from your domain. In most cases, this should be done with an inverted domain, like
com.mercadolibre, but non-EMVCO QRs are also possible, such ashttps://mpago.la/pos/<id>orhttps://mpago.la/s/qr/<id1><id2>. - Identify operations with traceable codes that allow COELSA to recognize those belonging to Mercado Pago. To do this, send the
order.idfrom Mercado Pago's IEP asqr_trx_idto the COELSA API.
