This guide explains how to connect your own Mercado Pago account to EzDIS so your clients can pay invoices from a link. The money goes into your Mercado Pago account; EzDIS records the payment and updates the customer account when it receives the provider’s confirmation.
Before you start: you need a verified Mercado Pago account, access to its developer panel and the address of your EzDIS app (for example
https://midistribuidora.ezdis.net). Never share your Access Token (the credential that lets EzDIS create and check payments in your account) or the webhook secret key (the one that confirms notifications really come from Mercado Pago).
EzDIS creates a payment link for each invoice and includes it in the notices when at least one payment method is enabled (Mercado Pago, PayPal or bank transfer). The client opens that link and sees the available methods. With Mercado Pago enabled, they can choose it and pay with the options their account and country allow. Mercado Pago only appears if the invoice is in your country’s currency.
With the webhook set up, the flow is:
Without the webhook, the client can pay, but EzDIS doesn’t get the automatic confirmation: you would have to record the payment by hand. That’s why the webhook is needed for automatic reconciliation. We’ll see how to set it up below.
If you don’t have an account yet, create one and verify your identity on the Mercado Pago site for your country (Uruguay, Argentina or Brazil). Use the account that will receive the payments. Follow these steps, in this order:





The generated name can differ for each account. You don’t need to change it.

If Mercado Pago asks for more details, fill them in with your company’s real information. Choose the industry that matches the business.
In Website (required), enter https://www.ezdis.net/.
Don’t copy the URL from the screenshot literally: the domain must match the app you are setting up.

Copy these two credentials:

The Public Key can be shown in the browser. The Access Token is secret: don’t send it by WhatsApp, email or screenshot, and don’t enter it in someone else’s account.
Use production credentials to collect real payments. Test credentials only work for Mercado Pago tests and don’t process real money.


| Field | What it’s for |
|---|---|
| Enable Mercado Pago payments | Shows Mercado Pago as a payment method when the invoice is compatible. |
| Mercado Pago Public Key | Identifies your Mercado Pago application on the payment screen. |
| Mercado Pago Access Token | Lets EzDIS create and check payments in your account. Keep it private. |
| Default number of installments | Number preselected for the client, if Mercado Pago offers it. |
| Maximum number of installments | Limit of installments the client can choose, subject to what Mercado Pago allows. |
| Webhook Secret Key | Filled in during the next step to confirm notifications really come from Mercado Pago. |
| Fee percentage charged to the user | Optional: adds a percentage to the amount the client sees to cover processing costs. |
Saving these credentials isn’t enough to record payments automatically: you still need to set up the webhook.
The webhook is the notification Mercado Pago sends to EzDIS when a payment’s status changes. Without it, an invoice can stay pending even though the client already paid, and you would have to reconcile payments by hand: check in Mercado Pago what was collected and record each payment in EzDIS.
Use this structure, replacing YOUR-ACCOUNT with your app’s real subdomain:
https://www.ezdis.net/api/payment/mercadopago/webhook?domain=YOUR-ACCOUNT.ezdis.net
For example, if you open your app at https://tutoriales.ezdis.net, the URL becomes:
https://www.ezdis.net/api/payment/mercadopago/webhook?domain=tutoriales.ezdis.net
After domain= put only your app’s domain: no https:// and no trailing slash (/).

Choose Set up notifications and select Production mode.
In Production URL, paste exactly this address, replacing YOUR-ACCOUNT with your app’s real subdomain:
https://www.ezdis.net/api/payment/mercadopago/webhook?domain=YOUR-ACCOUNT.ezdis.net
YOUR-ACCOUNT isn’t fixed text: it’s the subdomain that identifies that account. For example, if the app opens at https://tutoriales.ezdis.net, the URL becomes https://www.ezdis.net/api/payment/mercadopago/webhook?domain=tutoriales.ezdis.net. Copy only the domain, without https:// or the trailing slash. Don’t use /webhook alone and don’t put www.ezdis.net as the account.

After saving, Mercado Pago shows a Secret key on that same screen. Copy it in full and paste it into Settings → Mercado Pago → Mercado Pago Webhook Secret Key in EzDIS.
The secret key is required to validate notifications. Don’t share or publish it. If you regenerate the key in Mercado Pago, replace it in EzDIS too.
The key lets EzDIS check each notification’s signature. If the key doesn’t match, EzDIS rejects the notification so that no one else can mark fake payments.
Run a test with a low-amount invoice before sharing links with clients:
The update depends on the webhook notification; it can take a few moments. Don’t mark the invoice as collected by hand while you wait, to avoid recording the payment twice.
Mercado Pago charges its own fee per transaction. If your commercial policy allows passing that cost on, set Fee percentage charged to the user. For example, with 5:
| Item | Amount |
|---|---|
| Original invoice | $1,000 |
| Configured fee (5%) | $50 |
| Total the client pays | $1,050 |
| Amount applied to the invoice in EzDIS | $1,000 |
Check that showing this extra charge complies with Mercado Pago’s rules and the regulations that apply to your business.
| Situation | What to check |
|---|---|
| Mercado Pago doesn’t appear in the link | That the integration is enabled, the credentials are saved and the invoice is compatible with this payment method. |
| Mercado Pago shows an error when opening the link | Public Key, Access Token, verified account and currency available in your Mercado Pago account. |
| The client paid and the invoice is still pending | Webhook URL, Order (Mercado Pago) event, production mode and Webhook Secret Key. Wait a few moments before recording a manual payment. |
| The notification is rejected | That the secret key copied into EzDIS belongs to the same Mercado Pago application and environment. |
| The amount is different | Check the configured fee, the installments and the invoice currency. |
This integration has no extra cost from EzDIS. Mercado Pago charges its own fees, timelines and terms. EzDIS only connects your account to create payments and record the confirmed ones; it doesn’t keep a percentage of what you collect from your clients.
AI-generated answers based on the manual. They may contain mistakes.