Have ideas to improve npm?Join in the discussion! »

    mercadopago
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/mercadopago package

    1.5.8 • Public • Published

    Mercado Pago SDK for NodeJS

    NPM Version Downloads License

    This library provides developers with a simple set of bindings to help you integrate Mercado Pago API to a website and start receiving payments.

    💡 Requirements

    The SDK Supports Node.js from version v0 to the latest (v7).

    📲 Installation

    First time using Mercado Pago? Create your Mercado Pago account, if you don’t have one already.

    1. Install NodeJS SDK for MercadoPago running in command line:
    $ npm install --save mercadopago
    1. Copy the access_token in the credentials section of the page and replace YOUR_ACCESS_TOKEN with it.

    That's it! Mercado Pago SDK has been successfully installed.

    🌟 Getting Started

    Simple usage looks like:

    var mercadopago = require('mercadopago');
    mercadopago.configure({
        access_token: 'YOUR_ACCESS_TOKEN'
    });
    
    var preference = {
      items: [
        {
          title: 'Test',
          quantity: 1,
          currency_id: 'ARS',
          unit_price: 10.5
        }
      ]
    };
    
    mercadopago.preferences.create(preference)

    📚 Documentation

    Visit our Dev Site for further information regarding:

    Check our official code reference to explore all available functionalities.

    ❤️ Support

    If you require technical support, please contact our support team at developers.mercadopago.com

    🏻 License

    MIT license. Copyright (c) 2021 - Mercado Pago / Mercado Libre 
    For more information, see the LICENSE file.
    

    Install

    npm i mercadopago

    DownloadsWeekly Downloads

    5,477

    Version

    1.5.8

    License

    none

    Unpacked Size

    2.46 MB

    Total Files

    187

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar