Skip to main content

Mercadopago SDK module for Payments integration

Project description

Mercado Pago SDK for Python

PyPI PyPI Downloads APM

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

Python 2 or higher

📲 Installation

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

On Python 2.x

pip install mercadopago

On Python 3.x

pip3 install mercadopago

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:

import mercadopago
import json

mp = mercadopago.MP("YOUR_ACCESS_TOKEN")

def index(req, **kwargs):
    preference = {
        "items": [
            {
                "title": "Test",
                "quantity": 1,
                "currency_id": "USD",
                "unit_price": 10.4
            }
        ]
    }

    mp.create_preference(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) 2018 - Mercado Pago / Mercado Libre 
For more information, see the LICENSE file.

Project details


Release history Release notifications | RSS feed

This version

1.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mercadopagoCTS-1.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

mercadopagoCTS-1.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file mercadopagoCTS-1.3.tar.gz.

File metadata

  • Download URL: mercadopagoCTS-1.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for mercadopagoCTS-1.3.tar.gz
Algorithm Hash digest
SHA256 9c796851d26a9008a2292516aa6d0687142f40363b088be0f4cded9cc76b05c6
MD5 c155471d189ae48721e23b3bc67f2d85
BLAKE2b-256 78d9f59b246400b927ac1fbec47514bc6b7c61bbe06aa34aef1131c2117d1e38

See more details on using hashes here.

File details

Details for the file mercadopagoCTS-1.3-py3-none-any.whl.

File metadata

  • Download URL: mercadopagoCTS-1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for mercadopagoCTS-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee76fb19555188f7bb6f9b5d04b9dbad2a7adc581602e7e99fc00a0b7a80f044
MD5 1271b10d9c4f7eab0740ef781af629ff
BLAKE2b-256 c409b024e78f5bf9698495ac37f790e7c309e7a5fe1234b4ff3369a8e0833b1d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page