Integration configuration - Massive links and Debts (SFTP) - Mercado Pago Developers
What are you looking for?

Do not know how to start integrating? 

Check the first steps

Integration configuration

Secure access to the SFTP server will be configured by Mercado Pago using the connection data provided to the team (SFTP Name, Email, Phone, and IP Range) and the public key for authentication, as detailed in the Prerequisites section. Once configured, it will be possible to connect to the SFTP by following the instructions below.

Connect with SFTP

To connect to the Mercado Pago SFTP server, use the private key associated with the public key provided to Mercado Pago for the creation of the server previously. For more information, see the documentation How to create an SSH public/private key.

You can connect from a terminal or from a script executed from a cron. The command to execute is:

terminal

shell> sftp -i ${dirname}/${id_rsa_sftp_ml} ${user_seller_sftp_ml}@sftp.mercadolibre.io
NOTE
If you have used the default SSH key ($HOME/id_rsa), the -i ${dirname}/${id_rsa_sftp_ml} parameter mentioned earlier is not necessary.

Both keys (public and private) must be stored in the same directory on the machine used to connect to the Mercado Pago SFTP server. The table below describes how each element is identified by Mercado Pago:

ElementIdentified by Mercado PagoDetails
Directory${dirname}Seller's internal directory
Private key file${id_rsa_sftp_ml}Private key for authentication on the SFTP server
Public key file${id_rsa_sftp_ml}.pubPublic key shared with Mercado Pago
User for connection${user_seller_sftp_ml}User provided by Mercado Pago
SFTP servers domainsftp.mercadolibre.ioDomain to access SFTP servers