Previous requirements - Checkout API - 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

    VTEX

    Loja Integrada

    Nuvemshop

    iSet

    Linx Commerce

    Wix

    SDKs

    Notifications

    Webhooks

    IPN

    Account Management

    Requirements for production environment

    Get payments

    Reports

    Cashback and Cancellations

    Chargeback Management

    Improves approval

    Resources

    Localization

    Changelog

    Status

IN THIS PAGE

Suggest edit
Help us improve the documentation
Did you see wrong information and would you like us to explain something else or improve our manuals? Please leave your suggestions on GitHub.

Prerequisites to get started

Find out what you need to know to integrate our Checkout API.

Have your credentials handy

Your credentials are the keys we provide you to configure your integrations. In this case, you will use a public and a private key.

  • The Public Key grants access to the resources that your frontend needs. It allows you to collect credit card data and turn it into a representative token that you can send to your servers securely to create a payment.

  • The private key, or Access Token, will allow you to call the rest of the APIs from your servers. For example, to process a payment, make a refund, or save cards.

To find them, go to the Credentials section.

Do you have any questions about credentials? Check our FAQs.

Always use our libraries

Remember to always use our official libraries for your integration. This helps protect your customer's sensitive data, meet the required security standards, and keep yourself up to date.


      Include MercadoPago.js

Client-Side

MercadoPago.js allows you to create a payment token to send card data to your backend securely. You can use it by adding the following code to your website:

html

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

      Install Mercado Pago SDK

Server-Side

Install an official SDK to simplify your interaction with our APIs.

  • php
  • node
  • java
  • ruby
  • csharp

Install Composer to use the SDK. Then run the following code on the command line:

          
php composer.phar require "mercadopago/dx-php:dev-master"

        

To install the SDK you must execute the following code on the command line of your terminal using npm:

          
npm install mercadopago

        

To install the SDK in your Maven project, add the following dependency in your pom.xml file and then run ´maven install´.

          
<dependency>
            <groupId> com.mercadopago </groupId>
            <artifactId> dx-java </artifactId>
            <version> 1.0.33 </version>
</dependency>

        

The Mercado Pago SDK is available as a gem, to install it you must execute the following code on the command line:

          
gem install mercadopago-sdk

        

Use NuGet to install the Mercado Pago SDK .NET. To do this, run the following command in the NuGet Package Manager console:

          
PM> Install-Package mercadopago-sdk -Version 1.0.57

        

Learn our API References

If you can't use our official SDKs, you will have all the information about data queries and responses available to interact directly with our APIs in API References.

Meet the requirements for the production environment

When you develop your integration, consider all the requirements for the production environment. This process can ensure your customer's data security, compliance with legal standards or provisions in each country, and the best shopping experience for your customers.

Once your integration is ready, you just need to fill out the form for to go to production in the Credentials section to start receiving payments.


Next steps

REQUIRED

Integrate Checkout API for cards

Create and configure your own payment experience.

RECOMMENDED

API References

Find all the information required to interact with our APIs.

Was this information helpful?

Copyright © 2021 MercadoPago.com Representações LTDA. / CNPJ n.º 10.573.521/0001-91 / Av. das Nações Unidas, nº 3.003, Bonfim, Osasco/SP - CEP 06233-903

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

Ao navegar neste site, você aceita os cookies que usamos para melhorar sua experiência. Mais informações.