SDKs - Mercado Pago Developers
Developers
API Reference
Support
Sign in

    Home

    Getting started

    Online Payments

    Checkout Pro

    Checkout API

    Payment Link

    Subscriptions

    Marketplace

    Mobile Checkout

    Web Tokenize Checkout

    In person payments

    QR Code

    Mercado Pago Point

    Plugins and platforms

    WooCommerce

    Prestashop

    Magento 2

    Shopify

    Tiendanube

    VTEX

    SDKs

    Notifications

    Webhooks

    IPN

    Account Management

    Requirements for production environment

    Get payments

    Reports

    Cashback and Cancellations

    Chargeback Management

    Improves approval

    Resources

    Localization

    Changelog

    Status

Mercado Pago official SDKs

Reduce integration time using our official libraries. With them, we make your development process easy in the most used languages in the market.

You must install MercadoPago.js to make calls to the card token and have other client-side features in your integrations.

The use of backend SDKs is optional. With them, you can obtain server-side functionalities of our online payment solutions such as:

  • Create and view the status of different payments
  • Integrate payments with cards or other payment methods
  • Refund or cancel payments
  • Frontend
  • Backend

MercadoPago.js

Last version:
Requirements
IE11, Chrome, Firefox.
Installation

To install the frontend SDK you must include MercadoPago.js in the HTML of your application:

HTML

<script src="https://secure.mlstatic.com/sdk/javascript/v1/mercadopago.js"></script>

Set up your credentials

As a last step, add the Public key of the account you are integrating so we can identify it when connecting to Mercado Pago.

Find all the information about credentials in our FAQs.

Javascript

window.Mercadopago.setPublishableKey("YOUR_PUBLIC_KEY");

Próximos pasos

RECOMMENDED

Collections online

Integrate our checkouts or the Mercado Pago API to collect on websites and other applications.

Copyright © 2021 MercadoLibre S. de R.L. de C.V.

Terms and conditionsHow we take care of your privacy
Partners Mercado Pago

Al navegar en este sitio aceptas las cookies que utilizamos para mejorar tu experiencia. Más información.